带有选项 useraction=commit 不创建交易的 Paypal 快速结账 [英] Paypal express-checkout with option useraction=commit not creating transaction

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

问题描述

我在网站中集成了贝宝快速结账.一切似乎都很好.当客户被重定向到 paypal 进行付款时,会出现 Pay Now 按钮,因为我使用的是: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 登录并点击立即付款按钮.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 快速结账的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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