Webmastersite.net
Register Log In

Paypal problem

Comments on Paypal problem

sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004

Total Topics: 47
Total Comments: 88
sertan6
Posted Oct 22, 2008 - 12:57 PM:

I'm using the paypal sandbox to test the sponsor system but i can't get it to work.

I replaced "https://www.paypal.com/cgi-bin/webscr" with "https://www.sandbox.paypal.com/cgi-bin/webscr".

Everything seems to work fine, the transaction is done, the advertiser's and publisher's balances shows the transaction is done, i also get the email from paypal to the buyer.

I click on the link to return to the seller's site and get the message:
"Thank you for your payment. Your transaction has been completed, and a receipt for your purchase has been emailed to you. You may log into your account at www.paypal.com to view details of this transaction."

But no funds are added on the link. I tried both with the IPN and without it, just with the return url.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 23, 2008 - 7:52 AM:

To use the sandbox, you'll need to create a tweaks.php file with this content:
<?php $paypalsandbox = true; ?>


Edit: Actually I see the 4.1 series didn't support that. For 4.1, you have to make the template edit as you did and also open paypal.php to set $sandbox = true; where it currently says false.
sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004

Total Topics: 47
Total Comments: 88
sertan6
Posted Oct 23, 2008 - 10:38 AM:

That was it, thanks Paul.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.