【问题标题】:SuccessWithWarning in Paypal Mass PayPaypal Mass Pay 中的 SuccessWithWarning
【发布时间】:2014-04-26 12:06:36
【问题描述】:

我正在使用 PayPal 的 Mass Pay API 构建一个支付系统。根据他们的文档,一条消息将返回以下状态响应之一:

  • “成功”
  • “成功警告”
  • “失败”
  • “FailureWithWarning”

有谁知道 Mass Pay API 的“SuccessWithWarning”情况的示例是什么?我只能在沙盒中模拟“成功”和“失败”。即使在为我的 Sandbox 帐户打开 Negative Testing 之后,我也无法使用 Mass Pay API 重现“SuccessWithWarning”状态。任何帮助表示赞赏!谢谢。

供参考:

https://developer.paypal.com/docs/classic/api/NVPAPIOverview/

【问题讨论】:

    标签: paypal paypal-sandbox


    【解决方案1】:

    以上四个值是变量 ACK 的可能值。并非所有 API 都将“SuccessWithWarning”作为 ACK 值返回。此值仅适用于某些 API,如 SetExpressCheckout API、DoExpressCheckout API 等。您可以参考以下链接来检查与特定 API 相关的可能错误:

    https://developer.paypal.com/webapps/developer/docs/classic/api/errorcodes/#id09C3F0O0NTU

    【讨论】:

      【解决方案2】:

      今天我收到了关于我的一个旧系统的通知,其中包含“SuccessWithWarning”响应。

      ACK = SuccessWithWarning
      VERSION = 65.1
      BUILD = 12896494
      L_ERRORCODE0 = 11812
      L_SHORTMESSAGE0 = Invalid Data
      L_LONGMESSAGE0 = The value of Description parameter has been truncated.
      L_SEVERITYCODE0 = Warning
      

      所以有一个例子给你。

      【讨论】:

        猜你喜欢
        • 2012-12-20
        • 2013-09-11
        • 1970-01-01
        • 2013-11-04
        • 2014-06-30
        • 2014-11-11
        • 1970-01-01
        • 2012-08-11
        • 2011-02-06
        相关资源
        最近更新 更多