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.
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.
Comments on Paypal problem
Experienced
Usergroup: Customer
Joined: Feb 22, 2004
Total Topics: 47
Total Comments: 88
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.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
To use the sandbox, you'll need to create a tweaks.php file with this content:
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.
Experienced
Usergroup: Customer
Joined: Feb 22, 2004
Total Topics: 47
Total Comments: 88
That was it, thanks Paul.