【问题标题】:Successful Adaptive Payments Pay Request via paypal通过贝宝成功的自适应付款付款请求
【发布时间】:2013-03-24 05:28:23
【问题描述】:

我有一个通过贝宝沙盒支付的请求。当我执行 PHP 时,我得到了成功响应。但是,我无法在任何地方跟踪沙盒门户中的交易。

我正在使用沙盒中的 API 凭据(正在工作)。这是我收到的回复

object(stdClass)#6 (3) { ["responseEnvelope"]=> object(stdClass)#7 (4) { ["timestamp"]=> string(29) "2013-04-02T11:56: 35.221-07:00" ["ack"]=> string(7) "Success" ["correlationId"]=> string(13) "30317d69b575d" ["build"]=> string(7) "5563463" } [ "payKey"]=> 字符串(20) "AP-8VN625716X0611726" ["paymentExecStatus"]=> 字符串(7) "已创建" }

这是请求。我更改了电子邮件,但它被设置为我设置了沙盒帐户的电子邮件。

object(PayRequest)#4 (7) { ["requestEnvelope"]=> object(RequestEnvelope)#1 (2) { ["detailLevel"]=> NULL ["errorLanguage"]=> NULL } ["actionType "]=> string(3) "PAY" ["cancelUrl"]=> string(19) "http://www.ebay.com" ["currencyCode"]=> string(3) "USD" ["memo"]=> string( 10) "简单支付" ["receiverList"]=> object(ReceiverList)#2 (1) { ["receiver"]=> object(Receiver)#3 (2) { ["amount"]=> string(3 ) "3.0" ["email"]=> string(17) "xxx@gmail.com" } } ["returnUrl"]=> string(19) "http://www.ebay.com" }

【问题讨论】:

    标签: paypal paypal-adaptive-payments


    【解决方案1】:

    在通过 PayKey 获得成功响应后,您会将客户重定向到:

    https://www.sandbox.paypal.com/webscr?cmd=_ap-payment&paykey=VALUE

    VALUE 是您在 API 响应中收到的 PayKey。

    您是否已访问此 URL 并使用个人沙盒帐户继续结帐?

    【讨论】:

    • 好的,我实际上发现我的 senderEmail 没有在隐式发送中提供。
    猜你喜欢
    • 2011-11-06
    • 2013-09-22
    • 2016-03-29
    • 2012-12-13
    • 2014-08-25
    • 2023-04-10
    • 2016-06-17
    • 1970-01-01
    • 2018-03-24
    相关资源
    最近更新 更多