-
Notifications
You must be signed in to change notification settings - Fork 3
Description
TICKET SUMMARY
ISSUE: A negative tax is being applied to an order when a Coupon and destination zip code are added.
SERVER: Naboo
MVC release: 201501.a
SITE: gogoods.com
EXAMPLE SKU: 2054LG-50 (product configured as non-taxable)
EXAMPLE ORDER: 2015-04-36902
EXAMPLE COUPON: RD15
EXAMPLE DESTINATION ZIP CODE: 20601
CHECKOUT SETUP: One Page Checkout w/Active Customer Accounts Release: 201408a
TAX POLICY: MD 6%
STEPS TO REPRODUCE:
gogoods.com >> add two of example SKU 2054LG-50 to the cart >> add example coupon RD15 to the cart >> enter destination zip code of 20601.
At this point, there is still no tax displayed in the cart, although their probably should be since an MD zip code has been entered.
Proceeding to checkout:
Behavior differs slightly in testing. Some times at this point, a negative Tax of either -.36, or -.37 is displayed in the Summary at the bottom of the checkout page.
Other times there is a tax of $.00 displayed, until a payment method is selected, and then the tax displayed is one of the negative figures referenced above.
Still another behavior is that tax will still show as $.00 even after a payment method is selected, but if the zip code is then changed from an MD to a non-MD zip, and then back to an MD zip, the tax then shows as one of the negative figures referenced above.
NOTES:
This product should not be taxed at all, as it's configured as non-taxable.
Either way, there should never be a negative tax amount, as the negative tax amount is not valid, and prevents payment from being processed. If the tax amount calculated is < 0, is should probably just use 0.
Payment Decline debug for example order 2015-04-36902:
debug: Unrecognized reason code The tax amount is invalid. - Auth.Net response=3 reason=76
From History of example order 2015-04-36902:
2015/04/08 07:09 1pc@201405: browser:msie;OS:WI;compatMode:CSS1Compat
app: naboo:/spooler.pl
2015/04/08 07:09 Order App:SPOOLER 201405
Cart:azD5vD9zMa0vsIB4yPPA3rY24 Proc:7830
app: naboo:/spooler.pl
2015/04/08 07:09 PAY::authorize p=AUTHORIZENET
uuid=2015-04-36902Z0 amt=113.62
app: naboo:/spooler.pl
2015/04/08 07:09 CustomerID:7712583 was created and linked to
wallet:1611287
app: naboo:/spooler.pl
2015/04/08 07:09 PAY::authorize created wallet:1611287 on failure
app: naboo:/spooler.pl
2015/04/08 07:09 PAYMENT FAILED: 257
app: naboo:/spooler.pl
Checking with dev.