gpt4 book ai didi

paypal - 定期付款 : how to specify an initial payment TAX value different than the subsequent cycles?

转载 作者:太空宇宙 更新时间:2023-11-03 16:34:51 25 4
gpt4 key购买 nike

如果我使用等于经常性付款金额的 INITAMT 发出请求,它会起作用。

但是如果我尝试对不同的 INITAMT(以及不同的 TAX)进行计费,我会收到此错误:

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 私有(private)区域中看到相关的两次购买(即:具有初始付款的订阅)。

否则我将不得不为初始付款单独执行 DoExpressCheckout。

最佳答案

现在的情况是您不能(我相信)为初始金额设置税额。

TAXAMT 用于定期付款,而不是初始金额。

您的声明是“计费 29 欧元,含税 0.84 欧元”。

但是您的商品 list 显示税金应为 6.09 欧元

将您的 TAXAMT 更改为 6.09 欧元,应该没问题。

关于paypal - 定期付款 : how to specify an initial payment TAX value different than the subsequent cycles?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16772145/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com