【问题标题】:PayPal Error: “Your payment can’t be completed. Please return to the participating website and try again”PayPal 错误:“您的付款无法完成。请返回参与网站并重试”
【发布时间】:2012-08-01 07:58:32
【问题描述】:

我集成了Paypal Adaptive Payments,但是当用户点击购买按钮时,用户会得到PayPal Error: “Your payment can’t be completed. Please return to the participating website and try again”。在服务器端创建支付密钥:

pay: {"responseEnvelope":{"timestamp":"2012-08-03T00:17:58.697-07:00","ack":"Success","correlationId":"c830d0b683474","build":"DEV"},"payKey":"AP-XXXXXXXXXXX,"paymentExecStatus":"CREATED"}

它在沙盒中工作,但不是实时的。有人遇到过这个问题吗? 谢谢

【问题讨论】:

  • 其他遇到此问题的人,请在Chained payment cannot be completed 上查看我的回答。我不愿将这些问题中的任何一个标记为重复,因为人们发现这个非常模糊的答案的原因不同。

标签: paypal paypal-adaptive-payments


【解决方案1】:

我解决了这个问题。在我的客户端代码中,我指的是沙盒 URL 而不是实时 URL。

<form action="https://www.paypal.com/webapps/adaptivepayment/flow/pay" target="PPDGFrame">
  <input id="type" type="hidden" name="expType" value="light">
  <input id="paykey" type="hidden" name="paykey" value="AP-...">
  <input type="submit" id="submitBtn" value="Pay with PayPal">
</form>

【讨论】:

    猜你喜欢
    • 2016-06-22
    • 2012-01-01
    • 2014-04-23
    • 2015-10-17
    • 2013-10-24
    • 1970-01-01
    • 2018-12-16
    • 1970-01-01
    • 2013-03-02
    相关资源
    最近更新 更多