简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM