doujiangqu2823 2014-11-27 04:28
浏览 61

PayPal Express Checkout - 创建定期付款资料无效

We are Using Recurring Payments with the Express Checkout API. We follow the following link https://developer.paypal.com/docs/classic/paypal-payments-pro/integration-guide/WPRecurringPayments/#id086513007E9

  1. Recurring payment with Initial amount :-

My request to create recurring payment

METHOD=CreateRecurringPaymentsProfile&VERSION=86&PWD=password&USER=XXXXXXXXXX&SIGNATURE=signature&TOKEN=token&PROFILESTARTDATE=2014-11-26T10%3A15%3A48Z&DESC=Silver+-+USD+3.95&BILLINGPERIOD=Day&BILLINGFREQUENCY=4&INITAMT=1&AMT=1&CURRENCYCODE=USD&IPADDRESS=127.0.0.1&BUTTONSOURCE=PP-ECWizard

The response of request :-

Array
(
[PROFILEID] => I-L28955XWTU84
[PROFILESTATUS] => PendingProfile
[TIMESTAMP] => 2014-11-26T10:15:54Z
[CORRELATIONID] => 83fa402749c8c
[ACK] => Success
[VERSION] => 86
[BUILD] => 13630372
)

In response PROFILESTATUS is "PendingProfile" but it supposed to "ActiveProfile" and in customer account no amount deducted.

  1. Without initial amount recurring

    METHOD=CreateRecurringPaymentsProfile&VERSION=86&PWD=password&USER=XXXXXXXXXX&SIGNATURE=signature&TOKEN=token&PROFILESTARTDATE=2014-11-26T10%3A26%3A13Z&DESC=Silver+-+USD+3.95&BILLINGPERIOD=Day&BILLINGFREQUENCY=4&AMT=1&CURRENCYCODE=USD&IPADDRESS=127.0.0.1&BUTTONSOURCE=PP-ECWizard

The response of request :-

Array
(
[PROFILEID] => I-1RXFKHJ5H846
[PROFILESTATUS] => ActiveProfile
[TIMESTAMP] => 2014-11-26T10:26:21Z
[CORRELATIONID] => 6f793b6e64a35
[ACK] => Success
[VERSION] => 86
[BUILD] => 13630372
)

When I am doing recurring without initial amount it returns "ActiveProfile".

I want to do recurring with initial amount and expecting an active profile with instant initial amount deduction from the customer account, so please help me to fix this problem. Please note - pwd/signature/token is masked, in actual code we have put the real pwd/signature/token.

Thanks.

  • 写回答

1条回答 默认 最新

  • dqx24298 2016-12-15 09:12
    关注

    remove String INITAMT=1 ------> ActiveProfile

    评论

报告相同问题?

悬赏问题

  • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
  • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝
  • ¥20 腾讯企业邮箱邮件可以恢复么
  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的