由于某种原因,确认付款后,PayPal 不会重定向到我的网站。
我已经设置了自动返回并设置了一个有效的 url。
我已经设置了一个隐藏参数返回到相同的 url。
它只是向我显示了一个付款完成页面,其中包含一个返回我的网站的链接(与上面相同的 URL)。如果我点击它,它会带我回到我的网站 - 因此我知道该网址是有效的。
我只是希望这自动发生,如果我设置这些选项应该会发生什么,不是吗?
为什么paypal这么麻烦?还是我错过了令人眼花缭乱的明显?
我正在使用带有企业帐户的贝宝标准。
由于某种原因,确认付款后,PayPal 不会重定向到我的网站。
我已经设置了自动返回并设置了一个有效的 url。
我已经设置了一个隐藏参数返回到相同的 url。
它只是向我显示了一个付款完成页面,其中包含一个返回我的网站的链接(与上面相同的 URL)。如果我点击它,它会带我回到我的网站 - 因此我知道该网址是有效的。
我只是希望这自动发生,如果我设置这些选项应该会发生什么,不是吗?
为什么paypal这么麻烦?还是我错过了令人眼花缭乱的明显?
我正在使用带有企业帐户的贝宝标准。
Go to profile website preference page and turn on the auto return option.
Edit: In addition to the answer posted above, to turn on the auto return option, follow the below links:
Website preferencesReturn customers to my website after they pay with PayPal.
N.B. Over the past weeks trying to implement PayPal, I have come to understand that Paypal have a very confusing website and documentation and very often you may find contradicting things. So please note that the set of links above may change at a moment's notice. - DottoreM
“网站支付偏好”自动返回 URL 功能仅适用于通过“WPS(网站支付标准)”处理的支付,即 PayPal HTML 按钮集成支付。
来自@AlexSchimp 上面的评论:
如果用户使用信用卡或借记卡付款,并且没有登录 PayPal,它将无法正常工作。它仅在用户登录其 PayPal 帐户时才有效。
<input type="hidden" name="return" value="http://example.com/returnurl" />
或者
检查这个网址:
https://www.paypal.com/in/cgi-bin/webscr?cmd=p/mer/express_return_summary-outside。
我希望它对你有用。
谢谢
Poonam ( http://www.web-technology-experts-notes.in )