There are two sets of fixes for the country/state issues in the thread you mentioned:
http://www.zen-cart.com/forum/showpo...4&postcount=48
http://www.zen-cart.com/forum/showpo...6&postcount=62
Have you done both?
Also, it appears that the Handling Charge is being set equal to the amount of the taxes, thus causing your "totals don't match" problems ... which leads me to the rest of the questions in my prior post.
So, to rule out your many addons, can you switch to Flat Rate shipping?
Also, are you "using" any coupons during these tests?
If the Flat Rate shipping also allows this same error to occur, I'll need to see the action logs as well.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Both sets of fixes have been applied, although an order has just come through and it's still missing the 'state' field!!
No, we're not able to switch to flat shipping. This particular order which generated that error has gone through successfully via credit card so i can't get him to test with flat shipping either.
No coupon was used when this order was generated.
Another transaction just produced this problem, error logs can be found here.
Any ideas what might be causing this? This error was produced with a different shipping module than the last one, although both out of Big Royal Mail which is written for 1.3.7.
Thanks.
27.00 + 4.61 + 4.66 + 3.92 .... does not equal 30.97.[ITEMAMT] => 27.00
[HANDLINGAMT] => 4.61
[SHIPPINGAMT] => 4.66
[TAXAMT] => 3.92
[AMT] => 30.97
In fact, 30.97 - 27.00 - 3.92 ... equals 0.05 ... and that doesn't even take into account the shipping let alone the handling.
Granted, the difference between shipping and handling is 0.05.
The handling amount is currently used as a catch-all for amounts which don't fall into products, shipping, or taxes.
I suspect you've got your store set up to "include taxes in prices", but maybe your shipping is set up with tax handled differently.
If you turn the store into "do NOT include taxes in prices" mode, do all of these problems go away?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
The order has gone through via credit card as follows:
Total (inc tax): 27
Shipping: 3.97
included tax: 4.61
Grand Total: 30.97
Where are the following coming from?
[SHIPPINGAMT] => 4.66
[TAXAMT] => 3.92
EDIT: I've not tried turning off taxes as we have mandatory VAT and must show prices including and excluding VAT depending on where the customer lives. I also don't know if i can replicate this problem as the last time i tried there were no problems! This sale has an attribute which is has a price as well.
2nd EDIT: (i should read your whole post properly before replying!!) shipping modules are all set to include tax and i have only one tax rate so it should all be the same).
Last edited by fergusmacdonald; 22 Mar 2008 at 06:00 PM.
If you add tax to the correct shipping price, does that calculate to one of the unexpected numbers?
Zen Cart attempts to combine the shipping tax with the shipping rate, because PayPal doesn't seem to have any built-in mathematics logic for understanding how taxes are applied when it relates to shipping ... they only allow taxes to be included for each product line-item, not shipping. It's quite a convoluted challenge. Maybe PayPal thinks the world should be American?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.