Magento Subtracting Tax from subtotal instead of adding itPaypal error when loged in only "PayPal gateway has rejected request. The totals of the cart item amounts do not match order amountsCompletely incorrect tax calculationWrong tax calculation when paying with PayPal after 1.8 updateStrange front end calculation bugPaypal checkout with coupon applied returns wrong grand totalDiscounted shopping cart not working with PayPalWrong tax calculation in paypal when discount is givenGrand Total not updated when discount code is appliedSkip Payment Step if Grand Total 0Cart rule + taxjar not applying to tax on shippingMagento 2: How can I update tax and total programmatically on checkout?
Good for you! in Russian
Why the color red for the Republican Party
Peter's Strange Word
Is there a window switcher for GNOME that shows the actual window?
How strictly should I take "Candidates must be local"?
Should QA ask requirements to developers?
Best approach to update all entries in a list that is paginated?
Do I really need to have a scientific explanation for my premise?
Finding algorithms of QGIS commands?
Do f-stop and exposure time perfectly cancel?
Is having access to past exams cheating and, if yes, could it be proven just by a good grade?
Accountant/ lawyer will not return my call
Single word request: Harming the benefactor
"One can do his homework in the library"
Force user to remove USB token
What to do when during a meeting client people start to fight (even physically) with each others?
Why would one plane in this picture not have gear down yet?
Why is there a voltage between the mains ground and my radiator?
Unreachable code, but reachable with exception
What are some noteworthy "mic-drop" moments in math?
Is Gradient Descent central to every optimizer?
Space in array system equations
What does a stand alone "T" index value do?
Is it true that real estate prices mainly go up?
Magento Subtracting Tax from subtotal instead of adding it
Paypal error when loged in only "PayPal gateway has rejected request. The totals of the cart item amounts do not match order amountsCompletely incorrect tax calculationWrong tax calculation when paying with PayPal after 1.8 updateStrange front end calculation bugPaypal checkout with coupon applied returns wrong grand totalDiscounted shopping cart not working with PayPalWrong tax calculation in paypal when discount is givenGrand Total not updated when discount code is appliedSkip Payment Step if Grand Total 0Cart rule + taxjar not applying to tax on shippingMagento 2: How can I update tax and total programmatically on checkout?
For some reason magento is subtracting the tax amount from the subtotal instead of adding it. 5.50 + 6.07 +0.66= 12.23 not 11.57.Grand total is wrong! I looked at my tax settings and they all seem correct so I have no idea why this is happening. Any help would be appreciated.
Thanks
edit more pictures of config and settings
The subtotal excluding tax is actually cheaper than the product thats 12.95!


checkout paypal ce-1.9.1.0
add a comment |
For some reason magento is subtracting the tax amount from the subtotal instead of adding it. 5.50 + 6.07 +0.66= 12.23 not 11.57.Grand total is wrong! I looked at my tax settings and they all seem correct so I have no idea why this is happening. Any help would be appreciated.
Thanks
edit more pictures of config and settings
The subtotal excluding tax is actually cheaper than the product thats 12.95!


checkout paypal ce-1.9.1.0
add a comment |
For some reason magento is subtracting the tax amount from the subtotal instead of adding it. 5.50 + 6.07 +0.66= 12.23 not 11.57.Grand total is wrong! I looked at my tax settings and they all seem correct so I have no idea why this is happening. Any help would be appreciated.
Thanks
edit more pictures of config and settings
The subtotal excluding tax is actually cheaper than the product thats 12.95!


checkout paypal ce-1.9.1.0
For some reason magento is subtracting the tax amount from the subtotal instead of adding it. 5.50 + 6.07 +0.66= 12.23 not 11.57.Grand total is wrong! I looked at my tax settings and they all seem correct so I have no idea why this is happening. Any help would be appreciated.
Thanks
edit more pictures of config and settings
The subtotal excluding tax is actually cheaper than the product thats 12.95!


checkout paypal ce-1.9.1.0
checkout paypal ce-1.9.1.0
edited May 11 '15 at 17:15
Sean
asked May 11 '15 at 6:56
SeanSean
106312
106312
add a comment |
add a comment |
5 Answers
5
active
oldest
votes
Turned out it was an HHVM issue. HHVM used a different sorting order for prices I guess. Fix was to Set hhvm.enable_zend_sorting = 1 in hhvm/php.ini and then restart HHVM.
Hope this helps anyone with same problem.
add a comment |
Your shipping could be set to include tax. So, The amount 6.07 could be inclusive of tax.
No I dont think thats the case just showed the problem without shipping in the image above. Thanks for the help tho :)
– Sean
May 11 '15 at 17:16
add a comment |
You have subtotal and shipping configured to display 'tax-inclusive'
5.50 + 6.07 = 11.57
11.57 - 0.66 = 10.91
The grand total before tax is just showing what the subtotal + shipping would be WITHOUT tax which is already applied.
Check under: System > Configuration > Tax > Shopping Cart Display Settings
The actual price of the item is 5.50+ the shipping 6.07+tax 0.66 is 12.23. I have added another picture with out the shipping where its just tax and also showed my configuration settings. Thanks for the help
– Sean
May 11 '15 at 17:13
You need to check the configuration settings in the store scope. Your screenshots are from the default scope. If you have it configured with 'Excludes Tax' everywhere like that you wouldn't see the results you are seeing.
– Lee Saferite
May 11 '15 at 21:33
I actually solved the problem answer below. Thanks very much for your help it ended up being an HHVM issue.
– Sean
May 11 '15 at 23:03
add a comment |
I had the same problem. I was able to fix it by changing to PHP 5.6 (Single php.ini)
I was having the problem with PHP 7.
I hope this helps.
add a comment |
For Magento 2 Paypal Invalid Cart Totals Issue including the following errors:
PayPal gateway has rejected request. Item total is invalid (#10426: Invalid Data).
PayPal gateway has rejected request. The totals of the cart item amounts do not match order amounts (#10426: Invalid Data).
I found the following settings needed to be updated in order to fix:
- Admin > Stores > Configuration > Sales > Tax > Calculation Settings = Reset all to system defaults
- Admin > Stores > Configuration > Sales > Payment Methods > PayPal Express Checkout > Advanced Settings > Transfer Cart Line Items = No
In my case I also had the 3rd party extension Shipping Table Rates by Amasty and had to update the following conflicting configuration:
- Admin > Stores > Configuration > Sales > Shipping Methods > Shipping Table Rates by Amasty > Use price AFTER discount = No
- Admin > Stores > Configuration > Sales > Shipping Methods > Shipping Table Rates by Amasty > Use price INCLUDING tax = No
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f67359%2fmagento-subtracting-tax-from-subtotal-instead-of-adding-it%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
Turned out it was an HHVM issue. HHVM used a different sorting order for prices I guess. Fix was to Set hhvm.enable_zend_sorting = 1 in hhvm/php.ini and then restart HHVM.
Hope this helps anyone with same problem.
add a comment |
Turned out it was an HHVM issue. HHVM used a different sorting order for prices I guess. Fix was to Set hhvm.enable_zend_sorting = 1 in hhvm/php.ini and then restart HHVM.
Hope this helps anyone with same problem.
add a comment |
Turned out it was an HHVM issue. HHVM used a different sorting order for prices I guess. Fix was to Set hhvm.enable_zend_sorting = 1 in hhvm/php.ini and then restart HHVM.
Hope this helps anyone with same problem.
Turned out it was an HHVM issue. HHVM used a different sorting order for prices I guess. Fix was to Set hhvm.enable_zend_sorting = 1 in hhvm/php.ini and then restart HHVM.
Hope this helps anyone with same problem.
answered May 11 '15 at 18:43
SeanSean
106312
106312
add a comment |
add a comment |
Your shipping could be set to include tax. So, The amount 6.07 could be inclusive of tax.
No I dont think thats the case just showed the problem without shipping in the image above. Thanks for the help tho :)
– Sean
May 11 '15 at 17:16
add a comment |
Your shipping could be set to include tax. So, The amount 6.07 could be inclusive of tax.
No I dont think thats the case just showed the problem without shipping in the image above. Thanks for the help tho :)
– Sean
May 11 '15 at 17:16
add a comment |
Your shipping could be set to include tax. So, The amount 6.07 could be inclusive of tax.
Your shipping could be set to include tax. So, The amount 6.07 could be inclusive of tax.
answered May 11 '15 at 9:33
Paras SoodParas Sood
2,3551719
2,3551719
No I dont think thats the case just showed the problem without shipping in the image above. Thanks for the help tho :)
– Sean
May 11 '15 at 17:16
add a comment |
No I dont think thats the case just showed the problem without shipping in the image above. Thanks for the help tho :)
– Sean
May 11 '15 at 17:16
No I dont think thats the case just showed the problem without shipping in the image above. Thanks for the help tho :)
– Sean
May 11 '15 at 17:16
No I dont think thats the case just showed the problem without shipping in the image above. Thanks for the help tho :)
– Sean
May 11 '15 at 17:16
add a comment |
You have subtotal and shipping configured to display 'tax-inclusive'
5.50 + 6.07 = 11.57
11.57 - 0.66 = 10.91
The grand total before tax is just showing what the subtotal + shipping would be WITHOUT tax which is already applied.
Check under: System > Configuration > Tax > Shopping Cart Display Settings
The actual price of the item is 5.50+ the shipping 6.07+tax 0.66 is 12.23. I have added another picture with out the shipping where its just tax and also showed my configuration settings. Thanks for the help
– Sean
May 11 '15 at 17:13
You need to check the configuration settings in the store scope. Your screenshots are from the default scope. If you have it configured with 'Excludes Tax' everywhere like that you wouldn't see the results you are seeing.
– Lee Saferite
May 11 '15 at 21:33
I actually solved the problem answer below. Thanks very much for your help it ended up being an HHVM issue.
– Sean
May 11 '15 at 23:03
add a comment |
You have subtotal and shipping configured to display 'tax-inclusive'
5.50 + 6.07 = 11.57
11.57 - 0.66 = 10.91
The grand total before tax is just showing what the subtotal + shipping would be WITHOUT tax which is already applied.
Check under: System > Configuration > Tax > Shopping Cart Display Settings
The actual price of the item is 5.50+ the shipping 6.07+tax 0.66 is 12.23. I have added another picture with out the shipping where its just tax and also showed my configuration settings. Thanks for the help
– Sean
May 11 '15 at 17:13
You need to check the configuration settings in the store scope. Your screenshots are from the default scope. If you have it configured with 'Excludes Tax' everywhere like that you wouldn't see the results you are seeing.
– Lee Saferite
May 11 '15 at 21:33
I actually solved the problem answer below. Thanks very much for your help it ended up being an HHVM issue.
– Sean
May 11 '15 at 23:03
add a comment |
You have subtotal and shipping configured to display 'tax-inclusive'
5.50 + 6.07 = 11.57
11.57 - 0.66 = 10.91
The grand total before tax is just showing what the subtotal + shipping would be WITHOUT tax which is already applied.
Check under: System > Configuration > Tax > Shopping Cart Display Settings
You have subtotal and shipping configured to display 'tax-inclusive'
5.50 + 6.07 = 11.57
11.57 - 0.66 = 10.91
The grand total before tax is just showing what the subtotal + shipping would be WITHOUT tax which is already applied.
Check under: System > Configuration > Tax > Shopping Cart Display Settings
answered May 11 '15 at 13:10
Lee SaferiteLee Saferite
24519
24519
The actual price of the item is 5.50+ the shipping 6.07+tax 0.66 is 12.23. I have added another picture with out the shipping where its just tax and also showed my configuration settings. Thanks for the help
– Sean
May 11 '15 at 17:13
You need to check the configuration settings in the store scope. Your screenshots are from the default scope. If you have it configured with 'Excludes Tax' everywhere like that you wouldn't see the results you are seeing.
– Lee Saferite
May 11 '15 at 21:33
I actually solved the problem answer below. Thanks very much for your help it ended up being an HHVM issue.
– Sean
May 11 '15 at 23:03
add a comment |
The actual price of the item is 5.50+ the shipping 6.07+tax 0.66 is 12.23. I have added another picture with out the shipping where its just tax and also showed my configuration settings. Thanks for the help
– Sean
May 11 '15 at 17:13
You need to check the configuration settings in the store scope. Your screenshots are from the default scope. If you have it configured with 'Excludes Tax' everywhere like that you wouldn't see the results you are seeing.
– Lee Saferite
May 11 '15 at 21:33
I actually solved the problem answer below. Thanks very much for your help it ended up being an HHVM issue.
– Sean
May 11 '15 at 23:03
The actual price of the item is 5.50+ the shipping 6.07+tax 0.66 is 12.23. I have added another picture with out the shipping where its just tax and also showed my configuration settings. Thanks for the help
– Sean
May 11 '15 at 17:13
The actual price of the item is 5.50+ the shipping 6.07+tax 0.66 is 12.23. I have added another picture with out the shipping where its just tax and also showed my configuration settings. Thanks for the help
– Sean
May 11 '15 at 17:13
You need to check the configuration settings in the store scope. Your screenshots are from the default scope. If you have it configured with 'Excludes Tax' everywhere like that you wouldn't see the results you are seeing.
– Lee Saferite
May 11 '15 at 21:33
You need to check the configuration settings in the store scope. Your screenshots are from the default scope. If you have it configured with 'Excludes Tax' everywhere like that you wouldn't see the results you are seeing.
– Lee Saferite
May 11 '15 at 21:33
I actually solved the problem answer below. Thanks very much for your help it ended up being an HHVM issue.
– Sean
May 11 '15 at 23:03
I actually solved the problem answer below. Thanks very much for your help it ended up being an HHVM issue.
– Sean
May 11 '15 at 23:03
add a comment |
I had the same problem. I was able to fix it by changing to PHP 5.6 (Single php.ini)
I was having the problem with PHP 7.
I hope this helps.
add a comment |
I had the same problem. I was able to fix it by changing to PHP 5.6 (Single php.ini)
I was having the problem with PHP 7.
I hope this helps.
add a comment |
I had the same problem. I was able to fix it by changing to PHP 5.6 (Single php.ini)
I was having the problem with PHP 7.
I hope this helps.
I had the same problem. I was able to fix it by changing to PHP 5.6 (Single php.ini)
I was having the problem with PHP 7.
I hope this helps.
answered Jun 8 '18 at 16:12
Alejandro M.Alejandro M.
1
1
add a comment |
add a comment |
For Magento 2 Paypal Invalid Cart Totals Issue including the following errors:
PayPal gateway has rejected request. Item total is invalid (#10426: Invalid Data).
PayPal gateway has rejected request. The totals of the cart item amounts do not match order amounts (#10426: Invalid Data).
I found the following settings needed to be updated in order to fix:
- Admin > Stores > Configuration > Sales > Tax > Calculation Settings = Reset all to system defaults
- Admin > Stores > Configuration > Sales > Payment Methods > PayPal Express Checkout > Advanced Settings > Transfer Cart Line Items = No
In my case I also had the 3rd party extension Shipping Table Rates by Amasty and had to update the following conflicting configuration:
- Admin > Stores > Configuration > Sales > Shipping Methods > Shipping Table Rates by Amasty > Use price AFTER discount = No
- Admin > Stores > Configuration > Sales > Shipping Methods > Shipping Table Rates by Amasty > Use price INCLUDING tax = No
add a comment |
For Magento 2 Paypal Invalid Cart Totals Issue including the following errors:
PayPal gateway has rejected request. Item total is invalid (#10426: Invalid Data).
PayPal gateway has rejected request. The totals of the cart item amounts do not match order amounts (#10426: Invalid Data).
I found the following settings needed to be updated in order to fix:
- Admin > Stores > Configuration > Sales > Tax > Calculation Settings = Reset all to system defaults
- Admin > Stores > Configuration > Sales > Payment Methods > PayPal Express Checkout > Advanced Settings > Transfer Cart Line Items = No
In my case I also had the 3rd party extension Shipping Table Rates by Amasty and had to update the following conflicting configuration:
- Admin > Stores > Configuration > Sales > Shipping Methods > Shipping Table Rates by Amasty > Use price AFTER discount = No
- Admin > Stores > Configuration > Sales > Shipping Methods > Shipping Table Rates by Amasty > Use price INCLUDING tax = No
add a comment |
For Magento 2 Paypal Invalid Cart Totals Issue including the following errors:
PayPal gateway has rejected request. Item total is invalid (#10426: Invalid Data).
PayPal gateway has rejected request. The totals of the cart item amounts do not match order amounts (#10426: Invalid Data).
I found the following settings needed to be updated in order to fix:
- Admin > Stores > Configuration > Sales > Tax > Calculation Settings = Reset all to system defaults
- Admin > Stores > Configuration > Sales > Payment Methods > PayPal Express Checkout > Advanced Settings > Transfer Cart Line Items = No
In my case I also had the 3rd party extension Shipping Table Rates by Amasty and had to update the following conflicting configuration:
- Admin > Stores > Configuration > Sales > Shipping Methods > Shipping Table Rates by Amasty > Use price AFTER discount = No
- Admin > Stores > Configuration > Sales > Shipping Methods > Shipping Table Rates by Amasty > Use price INCLUDING tax = No
For Magento 2 Paypal Invalid Cart Totals Issue including the following errors:
PayPal gateway has rejected request. Item total is invalid (#10426: Invalid Data).
PayPal gateway has rejected request. The totals of the cart item amounts do not match order amounts (#10426: Invalid Data).
I found the following settings needed to be updated in order to fix:
- Admin > Stores > Configuration > Sales > Tax > Calculation Settings = Reset all to system defaults
- Admin > Stores > Configuration > Sales > Payment Methods > PayPal Express Checkout > Advanced Settings > Transfer Cart Line Items = No
In my case I also had the 3rd party extension Shipping Table Rates by Amasty and had to update the following conflicting configuration:
- Admin > Stores > Configuration > Sales > Shipping Methods > Shipping Table Rates by Amasty > Use price AFTER discount = No
- Admin > Stores > Configuration > Sales > Shipping Methods > Shipping Table Rates by Amasty > Use price INCLUDING tax = No
answered 10 hours ago
Chris RogersChris Rogers
255211
255211
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f67359%2fmagento-subtracting-tax-from-subtotal-instead-of-adding-it%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown