2

変動額のエクスプレスチェックアウトを使用して、ペイパルの定期支払いを処理しています。

私はほとんどすべてをしました。私はこのガイドに従っていました:

https://www.x.com/developers/paypal/documentation-tools/how-authorize-and-run-reference-transaction-express-checkout

3番目のステップの後、私はこの応答を受け取ります:

[TIMESTAMP] => 2012-05-02T20:33:39Z
[CORRELATIONID] => 6361035da7d80
[ACK] => Failure
[VERSION] => 86
[BUILD] => 2840849
[L_ERRORCODE0] => 11455
[L_SHORTMESSAGE0] => Buyer did not accept billing agreement
[L_LONGMESSAGE0] => Buyer did not accept billing agreement
[L_SEVERITYCODE0] => Error

ステップ4でさえ私にとって成功を返していますが、ここではBILLINGAGREEMENTIDを受け取っていません。
ここで何が悪いのかわかりません。これを手伝ってください。

ステップ4の応答は次のとおりです。

 Array
(
    [TOKEN] => EC-61326512J28943643
    [SUCCESSPAGEREDIRECTREQUESTED] => false
    [TIMESTAMP] => 2012-04-23T20:15:29Z
    [CORRELATIONID] => 9604631d916a1
    [ACK] => Success
    [VERSION] => 86
    [BUILD] => 2808426
    [INSURANCEOPTIONSELECTED] => false
    [SHIPPINGOPTIONISDEFAULT] => false
    [PAYMENTINFO_0_TRANSACTIONID] => 4N241225R9256962J
    [PAYMENTINFO_0_TRANSACTIONTYPE] => expresscheckout
    [PAYMENTINFO_0_PAYMENTTYPE] => instant
    [PAYMENTINFO_0_ORDERTIME] => 2012-04-23T20:15:27Z
    [PAYMENTINFO_0_AMT] => 11.00
    [PAYMENTINFO_0_FEEAMT] => 0.62
    [PAYMENTINFO_0_TAXAMT] => 0.00
    [PAYMENTINFO_0_CURRENCYCODE] => USD
    [PAYMENTINFO_0_PAYMENTSTATUS] => Pending
    [PAYMENTINFO_0_PENDINGREASON] => paymentreview
    [PAYMENTINFO_0_REASONCODE] => None
    [PAYMENTINFO_0_PROTECTIONELIGIBILITY] => Ineligible
    [PAYMENTINFO_0_PROTECTIONELIGIBILITYTYPE] => None
    [PAYMENTINFO_0_SECUREMERCHANTACCOUNTID] => EUS59DJENWC3E
    [PAYMENTINFO_0_ERRORCODE] => 0
    [PAYMENTINFO_0_ACK] => Success
)

私は少なくとも4-5日からこれに取り組んできました。

手順3を使用しなかった後の応答:

 [TOKEN] => EC-6MD78480W9369745J
    [SUCCESSPAGEREDIRECTREQUESTED] => false
    [TIMESTAMP] => 2012-05-02T20:38:13Z
    [CORRELATIONID] => 72306d7db8c1b
    [ACK] => Success
    [VERSION] => 86
    [BUILD] => 2840849
    [INSURANCEOPTIONSELECTED] => false
    [SHIPPINGOPTIONISDEFAULT] => false
    [PAYMENTINFO_0_TRANSACTIONID] => 6EG31415FF2050208
    [PAYMENTINFO_0_TRANSACTIONTYPE] => expresscheckout
    [PAYMENTINFO_0_PAYMENTTYPE] => instant
    [PAYMENTINFO_0_ORDERTIME] => 2012-05-02T20:38:11Z
    [PAYMENTINFO_0_AMT] => 11.00
    [PAYMENTINFO_0_FEEAMT] => 0.62
    [PAYMENTINFO_0_TAXAMT] => 0.00
    [PAYMENTINFO_0_CURRENCYCODE] => USD
    [PAYMENTINFO_0_PAYMENTSTATUS] => Pending
    [PAYMENTINFO_0_PENDINGREASON] => paymentreview
    [PAYMENTINFO_0_REASONCODE] => None
    [PAYMENTINFO_0_PROTECTIONELIGIBILITY] => Ineligible
    [PAYMENTINFO_0_PROTECTIONELIGIBILITYTYPE] => None
    [PAYMENTINFO_0_SECUREMERCHANTACCOUNTID] => EUS59DJENWC3E
    [PAYMENTINFO_0_ERRORCODE] => 0
    [PAYMENTINFO_0_ACK] => Success
4

2 に答える 2

0

ステップ 3 で、ステップ 1 でBillingtype = MerchantInitiatedBillingをすでに指定している場合は、メソッドCreateBillingAgreementを呼び出す必要はありません。

これを試して、応答で更新してください。

お役に立てれば。

于 2012-05-02T07:23:44.417 に答える