1110
1110

Reputation: 6839

PayPal return page problem

On payPal I added return page URL where user is redirected when payment is finished.

http://somewhere/back.aspx

But when I return from payPal after payment I don't get 'tx' or anything in queryString, what could be reason for that? I use correct token.

Upvotes: 0

Views: 391

Answers (1)

Dominic St-Pierre
Dominic St-Pierre

Reputation: 2469

You cannot rely on the returnurl parameter for getting back any information about the PayPal transaction, those would be to easy to change.

You need to implement Instant Payment Notification (IPN) so you will get all the variables returned, here is an example : https://www.paypal.com/us/cgi-bin/webscr?cmd=p/pdn/ipn-codesamples-pop-outside

Upvotes: 3

Related Questions