VAT not being added on

brigadetony
Contributor
Contributor

(Originally posted in the community help forum - but probably more appropriate here).

 

I have a PayPal shopping cart setup on my website with each add-to-cart button having its own tax override values per item. I do it this way because some of the items I sell (books) are zero-rated for VAT and so I can't have a blanket 20% for the whole shopping cart total. The button code is created by a Java script for each item (my website has 1000s of items so hard-coded buttons aren't an option).

 

In orders that arrived on the 27th December this was working fine - in orders dated the 28th, it isn't. I've just replicated a recent customer's order on my own PC and what happens is that the VAT is correctly calculated and added in the shopping cart, but as soon as I checkout this disappears and is replaced by a figure of 20p, which equates to the VAT on the cart handling amount, regardless of the shopping cart total.

 

I've taken screen shots of the process - the first shows the shopping cart total after I've added the item, the second shows the cart after I've hit checkout and tried to pay. In the first, VAT is listed as £2.18 (which is incorrect - it should be £2.38, 20% of items + shipping + handling - the handling %age is missing) whereas in the second it's changed to £0.20 (20% of the handling amount) Anyone have any ideas ? I'm probably doing something daft but I can't work out what has changed to cause this to happen.

 

 

Cart-1.jpg

 

 

Cart-2.jpg

Login to Me Too
3 REPLIES 3

MTS_MichaelL
PayPal Employee
PayPal Employee

I've run a quick test on your store, with a UK account, found the same item, to be sure, and it doesn't seem to be reproducible any more:

03-01-2017 11-04-15.png

 

Can you still reproduce it?

 

Login to Me Too

brigadetony
Contributor
Contributor

Hi - thanks for the reply.

 

I've found a workaround by using the default VAT settings for most items (so omitting the "TAX=" override) and just using the override for books, which are zero-rated. This works, but I suspect if I was to set the override to anything but zero (say 10%) then it wouldn't. Fortunately we only sell items which are either standard rated (20%) or zero rated, so I get away with it.

 

I've just found that it is still possible to reproduce the bug. Starting from an empty cart, if you add just a book (say this one - http://www.brigademodels.co.uk/ImperialSkies/Items/ISK-001.html) and then checkout, then a mysterious VAT value of £0.20 appears.

Login to Me Too

MTS_MichaelL
PayPal Employee
PayPal Employee

Thank you, this actually sheds light at the problem. In the POST string the shop sends to PayPal there is, as you said, tax=0.00. This tax override applies to the line item in the cart and the shipping. However, handling_cart=1.00 encompasses the entire cart and variables affecting only the line item won't have any effect on it. Therefore, the rate from your PayPal account is applied to handling_cart.

 

Try with and without handling_cart:

 

https://www.paypal.com/cgi-bin/webscr?add=1&cmd=_cart&business=9L6N28NFAYNHQ&item_name=Test_item&ite...

 

https://www.paypal.com/cgi-bin/webscr?add=1&cmd=_cart&business=9L6N28NFAYNHQ&item_name=Test_item&ite...

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.