First time integrating paypal, sorry if it’s a bad question. I’ve made a shop page which uses php for the back end and this is my code for single item purchases:
but on the return success.php the only transaction data that paypal returns after a successful payment is the PayerID. The output of: print_r( $_REQUEST ); is just Array ( [PayerID] => SOME_HEXADECIMAL )
I have ‘Auto return for website payments’ and ‘Payment data transfer’ turned on in my PayPal business account. The return address in the Auto return I’ve set to: http://localhost/test/success.php
The site isn’t live and I’m in a sandbox version of paypal. What am I doing wrong?