dtq81142 2017-02-23 11:33
浏览 88

使用paypal参考付款创建帐单协议问题

Follow this link :

https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECReferenceTxns/

First i call the express checkout option that gives me a token id, after that i call the CreateBillingAgreement($tokenid) that gives an error like that :

[TIMESTAMP] => 2017-02-23T11:24:03Z
[CORRELATIONID] => 5cf858da7986
[ACK] => Failure
[VERSION] => 64
[BUILD] => 30029726
[L_ERRORCODE0] => 11455
[L_SHORTMESSAGE0] => Buyer did not accept billing agreement
[L_LONGMESSAGE0] => Buyer did not accept billing agreement
[L_SEVERITYCODE0] => Error
  • 写回答

2条回答 默认 最新

  • doujindou4356 2017-02-24 04:57
    关注

    Have you redirected the buyer to PayPal checkout page to authorize the billing agreement? As stated in the guide:

    The buyer must log into PayPal once to authorize the billing agreement.

    You'll need to redirect the buyer's browser to PayPal with the token, which allows the buyer to log into PayPal and authorize the billing agreement, then PayPal redirects the buyer's browser back to your return page(the one you specified in SetExpressCheckout). After that you can call CreateBillingAgreement with the token.

    Hope that helps.

    评论

报告相同问题?