带有选项useraction = commit的Paypal Express结帐未创建交易 [英] Paypal express-checkout with option useraction=commit not creating transaction

查看:123
本文介绍了带有选项useraction = commit的Paypal Express结帐未创建交易的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网站上集成了Paypal Express结帐服务.一切似乎都正常.当客户重定向到Paypal进行付款时,出现立即付款按钮,因为我使用的是:useraction=commit,即:

I have integrated paypal express-checkout in a website. All seems to work fine. When customer is redirected to paypal for payment, the button Pay Now appears, since I am using:useraction=commit, i.e.:

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

客户从Paypal登录,然后点击立即付款按钮.贝宝没有给出错误,一切似乎都成功了,并且在RETURNURL处将客户重定向了,但是没有在买方或卖方帐户中创建任何交易.

Customer logs in from Paypal and clicks on the Pay Now button. Paypal gives no error, everything seems to be successful and customer is redirected at the RETURNURL, but no transaction is created in the buyer or in the seller account.

推荐答案

我恐怕错过了Paypal API文档中的一些要点.useraction=commit无法完成交易.从Paypal返回后,我们仍然需要执行 DoExpressCheckoutPayment 才能完成交易.

I'm afraid I missed some points from Paypal API documentation.useraction=commit will NOT complete the transaction. After returning from Paypal, we still need to execute DoExpressCheckoutPayment in order to complete the transaction.

这篇关于带有选项useraction = commit的Paypal Express结帐未创建交易的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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