2013-05-27 62 views
0

如果我使用等於定期付款金額的INITAMT執行請求,它將起作用。經常性付款:如何指定與後續週期不同的初始付款TAX值?

但是,如果我嘗試法案不同INITAMT(等不同的稅收),我得到這個錯誤:

Tax calculation mismatch. The tax amount for the regular non-trial billing period is different than the sum of the tax for each item in the cart. 

我的實際要求:

我有一個首期付款4.84€包括0.84€增值稅稅收

下個月的賬單金額應爲25.09歐元(含6.09歐元增值稅)。

我發送請求基本上是這樣的:

Method: CreateRecurringPaymentsProfile 
"CURRENCYCODE":"EUR", 
"INITAMT":4.84, 
"TAXAMT":0.84, 
"DESC":"Subscription", 
"BILLINGPERIOD":"Month", 
"BILLINGFREQUENCY":1, 
"AMT":29, 
"L_PAYMENTREQUEST_0_ITEMCATEGORY0":"Digital", 
"L_PAYMENTREQUEST_0_NAME0":"Subscription", 
"L_PAYMENTREQUEST_0_AMT0":29, 
"L_PAYMENTREQUEST_0_TAXAMT0":6.09, 
"L_PAYMENTREQUEST_0_QTY0":1 
"PROFILEREFERENCE":"51a1f8f4732baf580a000031", 
"PAYMENTREQUEST_0_INVNUM":"51a1f8f4732baf580a000031", 
"INVNUM":"51a1f8f4732baf580a000031", 
"PROFILESTARTDATE":"2013-06-26T11:59:12+0000", 

和響應:

"TIMESTAMP":"2013-05-27T10:55:46Z", 
"CORRELATIONID":"969d07e2cef8a", 
"ACK":"Failure", 
"VERSION":"74", 
"BUILD":"5908853", 
"L_ERRORCODE0":"10004", 
"L_SHORTMESSAGE0":"Tax calculation mismatch.", 
"L_LONGMESSAGE0":"Tax calculation mismatch. The tax amount for the regular non-trial billing period is different than the sum of the tax for each item in the cart.", 
"L_SEVERITYCODE0":"Error" 

我想與INITAMT值要做到這一點,從而使用戶可以在PayPal私人區域看到相關的兩筆購買(即:具有初始付款的訂閱)。

否則,我必須爲初始付款做一個單獨的DoExpressCheckout。

回答

1

發生了什麼事是你不能(我相信)爲初始金額設置稅額。

TAXAMT用於定期付款,而非初始金額。

您的陳述是說「開票29€含稅0.84€」。

但是您的項目清單說,稅應該是6.09€

更改您的TAXAMT至6.09€,它應該是罰款。

+0

謝謝,這似乎證實我懷疑...確定貝寶沒有想到它是奇怪的。不過,我剛剛通過刪除TAXAMT和L_PAYMENTREQUEST_0_TAXAMT0來解決此問題,最好是在PayPal帳戶中關聯初始付款和訂閱,而不是稅務信息。 – Madarco