【问题标题】:PayPal Express API - Payment date should be greater than current datePayPal Express API - 付款日期应大于当前日期
【发布时间】:2016-08-02 16:50:23
【问题描述】:

我正在对网站实施定期付款,但遇到了一些问题。从我的角度来看,我的请求看起来是正确的,但是它错误地指出日期需要晚于今天。

这是我的请求和响应:

我在此页面的最后第二步(第 4 步):https://developer.paypal.com/docs/classic/express-checkout/ht_ec-recurringPaymentProfile-curl-etc/

您可以看到日期是:“2016-04-14T00:00:00Z”,比今天晚了 2 天。

请求:

&TOKEN={REMOVED}&PROFILESTARTDATE=2016-04-14T00%3A00%3A00Z&BILLINGPERIOD=Month&PAYERID={REMOVED}&BILLINGFREQUENCY=1&AMT=1&CURRENCYCODE=USD&IPADDRESS={REMOVED}

回应:

Array
(
    [TIMESTAMP] => 2016-04-11T23:45:44Z
    [CORRELATIONID] => efe9e7aded581
    [ACK] => Failure
    [VERSION] => 64
    [BUILD] => 000000
    [L_ERRORCODE0] => 11505
    [L_SHORTMESSAGE0] => Start Date should be greater than current date
    [L_LONGMESSAGE0] => Subscription start date should be greater than current date
    [L_SEVERITYCODE0] => Error
)

我尝试了不同的格式,并尝试更改我的帖子字段,但到目前为止没有任何效果。

谢谢

【问题讨论】:

    标签: php paypal paypal-sandbox paypal-adaptive-payments paypal-subscriptions


    【解决方案1】:

    我解决了。

    我是urlencode()'ing 日期。我去掉了urlencode,支付成功了。

    干杯。

    【讨论】:

      猜你喜欢
      • 2014-12-23
      • 2016-01-15
      • 2015-12-14
      • 2017-01-02
      • 2017-09-02
      • 2012-04-05
      • 2012-03-13
      • 2014-07-13
      相关资源
      最近更新 更多