I just realized on a test order, there is a difference in the way the tax is calculate on the nopcommerce site and the paypal site using that code (although i am not sure if it was the code or just nop configuration).
As far as I know, I didn't mess with anything in nopCommerce that had to do with taxes or discounts... I just took what was given to me by nopCommerce and passed it to Paypal. It must be nopCommerce's way of calculating stuff. I believe that a discount SHOULD be taken BEFORE any taxes are applied - if it is actually a discount - because a discount is like a sale. But if it is a gift certificate then it should be taken off AFTER the taxes are applied - because a gift certificate is just like cash.
The question is: should reward points and gift cerificates be treated the same way - like cash?ttun76 wrote:
Looks like in the nopcommerce side, the tax is applied to the order total before discount and once passed to paypal, the tax is applied after the discounted item giving a difference of 0.4%. Is there a fix for this? Small difference, but can cause customer to cancel orders. Any thougts? Thanks in advance.
I would think that customers would like getting more of a discount once they get to Paypal :) But then you are rigtht, if there is a difference, no matter what the difference is some customers will be scared away. I'll have to look into the best way to do this.
The quick way of doing it (that I think can be done) is not having Paypal add tax. If you send everything to Paypal there won't be a discrepency between the two totals. I don't like that answer either, because I like having Paypal just add the tax so I don't have to fool with it, but it should work that way.