开发者

Does Paypal's Recurring Payments logic take into account VAT changes?

开发者 https://www.devze.com 2023-01-25 02:55 出处:网络
I have an application that will charge users a small fee on a monthly basis, but the amount is VAT-able. VAT is changing in January from 17.5% to 20%.

I have an application that will charge users a small fee on a monthly basis, but the amount is VAT-able. VAT is changing in January from 17.5% to 20%.

How does Paypal handle this? I can see in the API that you should pass the Tax Amount https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_CreateRecurringPayments

Does this mean we have to update every recurring payment on behalf of t开发者_如何学运维he customers in Jan?


The answer is - you have to amend each payment. Great! A way you could do this, is have a table that stores the VAT values by date.

1st January 2010 - 15%
4th January 2011 - 17.5%

Then on the response from paypal after every recurring payment, calculate the days to the next payment, work out if there is a change in tax using the VAT table, if there is then apply a value change to the recurring payment. (sigh)

0

精彩评论

暂无评论...
验证码 换一张
取 消