Paypal不显示当前购买金额?
PayPal 页面左侧似乎没有显示购买金额。更令人惊讶的是,产品的描述显示正确!
顺便说一句,我使用的是 NVP API!
PayPal doesn't seem to display the amount of the purchase on the left of the PayPal page. What's more surprising is that the description of the product is displayed correctly!
BTW, NVP API is what I use!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将 &useraction=commit 附加到 PayPal 重定向 URL (https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-XXXXXX)所以它是https://www.paypal.com /cgi-bin/webscr?cmd=_express-checkout&token=EC-XXXXXX&useraction=commit
原因是您应该在您的在调用 DoExpressCheckoutPayment 完成交易之前,请先访问网站的 RETURNURL。如果这不是您的结账流程的运作方式,您可以通过指定 useraction=commit 来覆盖此行为以指示立即购买。
Append &useraction=commit to the PayPal redirection URL (https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-XXXXXX) so it's https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-XXXXXX&useraction=commit
The reasoning is that you're supposed to show the final price on your website's RETURNURL before calling DoExpressCheckoutPayment to finalize the transaction. If this is not how your checkout flow operates, you can override this behaviour by specifying useraction=commit to indicate an immediate purchase.