Reputation: 801
I want to add VAT to the price of the product, depenending on the status of the user. I have been working in paypal sandbox, and I have created two buttons, one where I specify a tax rate of 20% and one without a tax rate. So if the user provides a valid VAT number of an EU country I present him the button without VAT. All other users will have to pay VAT and use the buy now button that has the VAT rate.
For the first button I specify the tax rate from the button editor, like in the image below:
Now I want to transfer my application to the live paypal site. So I started creating the exact same buttons, but unfortunately only then I noticed that there is no option on the live site to add tax to a pay now button. It only has the option to specify postage:
Am I missing something? Is there another way to achieve this? I have also tried adding a paypal variable to the button html form:
<input type="hidden" name="tax" value="20.00">
This didn't work either. Any thoughts?
Upvotes: 1
Views: 6323
Reputation: 1599
There are a few different ways you can setup your sales tax rates in PayPal.
Below are two:
You can use this code in your button:
<input type="hidden" name="tax_rate" value="20.000">
Here is a link to additional button code fields that should be accepted:
PayPal HTML Variables for Buttons
Here is the other way you an setup sales tax through PayPal. Here is the PayPal Documentation about adding Sales Tax through PayPal.
PayPal won’t charge sales tax on your payments unless you select this option and specify a rate.
To select this setting on your account:
Upvotes: 4