Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pp_express total discrepancy #1649

Closed
giulianoriccio opened this issue Jul 21, 2014 · 2 comments
Closed

pp_express total discrepancy #1649

giulianoriccio opened this issue Jul 21, 2014 · 2 comments

Comments

@giulianoriccio
Copy link
Contributor

Hello,
my customer noticed that his customers paid a few cents more or less compared to the order's total.

After a quick check I noticed that the issue was with the informations sent to PayPal.

Open Cart (version 1.5.6.4) calculates the taxes by getting the taxes for a single product and multiplying it for the quantity.
The extension sends to PayPal the net price of the product, the quantity and then the total taxes as if it was another product. The problem is that the total is different in some cases.

This may happen with any other plugin that sends taxes separately.

Here it is an example:
Product A
Net price: 1.1273
Unit price: 1.24003
Taxes%: 10%
Quantity: 100

Sub-total: 112.73
Taxes: 11.273
Total: 124.003

PayPal receives:
Product A
Net price: € 1.13
Quantity: 100
Total: € 113.00

Taxes
Total: € 11.27

Total
€ 124.27

@jamesallsup
Copy link
Contributor

Please do not duplicate issues. This issue has already been closed

The problem is because PayPal use 2dp, we raised this as an issue during development but nothing was done.

@giulianoriccio
Copy link
Contributor Author

I don't see how it's PayPal's fault when the whole world uses it without issues…
It's not a digits position issue, it's what is being sent that's wrong… it could just be sent differently.
Fine, I guess I'll fix it manually every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants