PayPal 收取运费税(不仅仅是元素)

标签 paypal paypal-sandbox

我正在使用效果很好的 PayPal url 方法,但是当我尝试收税时,它似乎只对所有商品的总值(value)征税,而我想对总商品 + 运费收税,即

商品 $100.00, 运费 $20.00, 小计 120.00 美元, 税 (10%) 12.00 美元, 总计 $132.00

这是我的 https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_cart&business=xxxxxxxxxxxxxx_biz@gmail.com&button_subtype=services&upload=1&no_note=1&currency_code=USD&rm=1&item_name_1=Product1&amount_1=200.00&quantity_1=2&item_name_2=Product2&amount_2=200.00&quantity_2=22&shipping_2=6&tax_1=10&tax_2=10&return=http://staging.xxxx.com/store/success.aspx&cancel_return=http://staging.xxxx.com/store/failed.aspx

最佳答案

我更改了税收变量以应用税率而不是金额。目前 PayPal 不收取包括运费在内的税费,因为服务通常不征税。

如果这是一项要求,我建议在将帖子发送到 PayPal 之前计算您网站上的总税额。可以在 tax_1 字段中输入该值。我在第二篇博文中展示了这方面的示例。

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_cart
&business=xxxxxxxxxxxxxx_biz@gmail.com
&button_subtype=services
&upload=1
&no_note=1
&currency_code=USD
&rm=1
&item_name_1=Product1
&amount_1=200.00
&quantity_1=2
&item_name_2=Product2
&amount_2=200.00
&quantity_2=2
&shipping_2=6
&tax_rate_1=10
&tax_rate_2=10
&return=http://staging.xxxx.com/store/success.aspx
&cancel_return=http://staging.xxxx.com/store/failed.aspx

这是您计算金额的示例。请注意,您只发送一个税额而不是每个项目的税额。 PayPal 不会向客户显示分项税额,因此不会对客户产生任何影响。

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_cart
&business=xxxxxxxxxxxxxx_biz@gmail.com
&button_subtype=services
&upload=1
&no_note=1
&currency_code=USD
&rm=1
&item_name_1=Product1
&amount_1=200.00
&quantity_1=2
&item_name_2=Product2
&amount_2=200.00
&quantity_2=2
&shipping_2=6
&tax_1=10
&return=http://staging.xxxx.com/store/success.aspx
&cancel_return=http://staging.xxxx.com/store/failed.aspx

关于PayPal 收取运费税(不仅仅是元素),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15333833/

相关文章:

php - Paypal pro 使用存储的信用卡详细信息付款

mongodb - 使用 Paypal REST api 获取计费协议(protocol)列表

php - 创建方法中的 Paypal 验证错误

asp.net - 实时 Paypal 错误

使用自定义返回 URL 时,PayPal PDT 不会在 QueryString 中返回 tx 值

paypal - 使用 Paypal 沙箱测试应用程序

Paypal 错误 Item amount must add up to specified amount 小计

c# - PayPal 支付操作 - 错误 81002

Paypal REST 沙盒 API 给出 ​​INTERNAL_SERVICE_ERROR

paypal - 使用 IPN 模拟器测试 PayPal IPN SHA-256 合规性