我遇到CreateRecurringPaymentsProfile调用问题 - 当我使用以下命令发送请求时
[TOKEN] => EC-0HX47934KS3525414
[DESC] => Enrolment title
[PROFILESTARTDATE] => 2014-08-05T19:20:42+01:00
[AMT] => 98.16
[BILLINGPERIOD] => Month
[BILLINGFREQUENCY] => 1
[TOTALBILLINGCYCLES] => 2
[INITAMT] => 98.16
我收到回复:
[PROFILEID] => I-VBR32KNHNXWN
[PROFILESTATUS] => PendingProfile
[TIMESTAMP] => 2014-08-05T18:20:45Z
[CORRELATIONID] => 853de87c95475
[ACK] => Success
[VERSION] => 72.0
[BUILD] => 12194268
我知道为什么会收到PendingProfile
而不是ActiveProfile
?
修改
解决方案是使用SetExpressCheckout
方法进行初始付款 - 使用L_PAYMENTREQUEST_0_NAME0
和L_PAYMENTREQUEST_0_AMT0
代替INITAMT
CreateRecurringPaymentsProfile
- 一旦我完成那 - 一切都运转正常。