对不起,如果这已经在某个地方得到了回答,但从我发现的情况来看,没有人回答这个问题。
我会很快的。我创建了允许快速生成 PayPal 字段的功能,因此我们可以通过我们定制的 CMS 进行快速付款。通过这一点,我们可以创建多个一次性付款或订阅,但是,我们似乎不能同时进行两者。这是我正在尝试实现的示例(版本 63):
Array
(
[L_PAYMENTREQUEST_0_NAME0] => XXXXXX
[L_PAYMENTREQUEST_0_DESC0] => XXXXXXXXXX
[L_PAYMENTREQUEST_0_AMT0] => 97.00
[L_PAYMENTREQUEST_0_QTY0] => 1
[L_PAYMENTREQUEST_0_NUMBER0] => 112
[L_PAYMENTREQUEST_0_NAME1] => XXXXXX
[L_PAYMENTREQUEST_0_DESC1] => XXXXXXXXXXX
[L_PAYMENTREQUEST_0_AMT1] => 37.00
[L_PAYMENTREQUEST_0_QTY1] => 1
[L_PAYMENTREQUEST_0_NUMBER1] => 113
[L_BILLINGAGREEMENTDESCRIPTION1] => Subscription: XXXXXXXXX
[L_BILLINGTYPE1] => RecurringPayments
[METHOD] => SetExpressCheckout
[LANDINGPAGE] => Billing
[ALLOWNOTE] => 0
[RETURNURL] => http://XXXXXXXXXX/confirm-order
[CANCELURL] => http://XXXXXXXXXX/checkout/cancelled
[CURRENCYCODE] => AUD
[PAYMENTREQUEST_0_ITEMAMT] => 134
[PAYMENTREQUEST_0_SHIPPINGAMT] => 0
[PAYMENTREQUEST_0_AMT] => 134
[PAYMENTREQUEST_0_CURRENCYCODE] => AUD
....
这就是我要回来的
[L_ERRORCODE0] => 10480
[L_SHORTMESSAGE0] => Invalid Data
[L_LONGMESSAGE0] => Invalid billing agreement type.
[L_SEVERITYCODE0] => Error
谁能告诉我我做错了什么?我做了一些搜索,但所有结果都是空的。
谢谢!