贝宝PDT自动返回 [英] Paypal PDT AutoReturn

查看:120
本文介绍了贝宝PDT自动返回的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功设置了php + paypal + paypal PDT.它完美地工作.从paypal付款后,它会自动返回到我的网站,并且我的php脚本获取$ _GET ['tx']变量,并成功发回到paypal进行验证.

I've been successful setting up php + paypal + paypal PDT. It works perfectly. After payment from paypal it auto return to my website and my php script get $_GET['tx'] variable and successfully posting back to paypal for validation.

但是,如果我的买方不等待从Paypal成功付款页面中自动退货,并且他们单击如果不自动重定向,请单击此处返回"按钮以退回我的网站,我不是获取$ _GET ['tx']变量.

However, if my buyer don't wait for auto return from the paypal successful payment page, and they click the "Click Here to go back if it don't auto redirect" button to go back my website, I am not getting the $_GET['tx'] variable.

我该怎么办?

推荐答案

在最近几轮更新(自2013年3月中旬开始)之后,自动返回功能不起作用,如果用户手动点击返回链接, $ _GET ['tx']未填充.似乎没有任何办法可以解决此问题.显然,所有这些功能在对PayPal沙箱的最新升级"中都已被弃用或破坏.

After the latest rounds of updates (starting around mid-March 2013) the auto-return does not function and if the user clicks manually on the return link, the $_GET['tx'] is not populated. There does not seem to be any way around this. Apparently all these features were either deprecated or broken on the latest "updgrades" to the PayPal sandbox.

这篇关于贝宝PDT自动返回的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆