Hi I'm trying to work my php code with Paypal Sandbox. I've found a decent tutorial I think and have tested it out. The first part works fine but the problem happens when I try and retrieve values once the transaction is complete.
This is the website
http://www.phpgang.com/payment-system-with-paypal_249.html
The problem I have has been posted as a comment in the bottom of their page as well so I'll just copy it here.
"I always get the Payment failed in the success page. This is because $item_price and $item_currency are empty. They are empty because the page doesn’t get redirected from the paypal page in 10 seconds like the demo , you have to click return to store and this brings you back to success.php with out anything for $_REQUEST to retrieve instead of success.php?tx=83437E384950D&st=Completed&amt=10.00&cc=USD&cm=&item_number=1. Hope you can help Thanks"
Thanks and hopefully someone can help me solve the problem