简体   繁体   English

沙盒模式下的Magento + Paypal快速结账

[英]Magento + Paypal Express Checkout on Sandbox Mode

I'm trying to test Paypal Express Checkout with a sandbox seller account, and with sandbox mode enabled on the Magento Configuration. 我正在尝试使用沙盒卖家帐户测试Paypal Express Checkout,并在Magento配置上启用沙盒模式。

The "checkout with paypal" button shows up on shopping cart but when I click it it redirects me to an URL like: “checkpal with paypal”按钮显示在购物车上,但是当我点击它时,它会将我重定向到以下URL:

https://www.paypal.com/cgi-bin/webscr?cmd=_flow&SESSION=

And shows the following error: 并显示以下错误:

Your session has ended

This transaction has expired....

According to this post, for sandbox mode I should be being redirected to something like: 根据这篇文章,对于沙盒模式,我应该被重定向到:

https://www.sandbox.paypal.com/webscr?cmd=_express-checkout&useraction=commit&token=

When I copied the token and used such URL it worked fine. 当我复制令牌并使用这样的URL时,它工作正常。

What can I do to get the sandbox URL to be used when in sandbox mode? 如何在沙盒模式下使用沙箱URL?

I had the same problem with IWD and Paypal. 我遇到了与IWD和Paypal相同的问题。 If you are using IWD One Page Checkout, go to 如果您使用的是IWD One Page Checkout,请转到

System > Configuration > IWD EXTENSIONS > One Page Checkout > Paypal Express LightBox

and set Enable Paypal Express Lightbox to No . 并将“ Enable Paypal Express Lightbox设置为“ No That fixed it for me. 这为我解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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