Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • As it turns out it’s not the tax calculation causing the issue, although the tax was the most obvious thing affected. In short when checking “same billing and shipping” check box the system didn’t seem to copy the state. When I entered an incorrect card for payment and ended up back at the checkout page everything was filled out except the state. When I recalculated shipping the state was now correct.

    The workaround fix that is working for me is to force people to enter the billing and shipping address separately. (Checkout settings)

    In chatting with others, here’s where I’ve ended up

    I did some debugging and i ended here:
    function wpec_taxes_calculate_total inside taxes_controller.class.php

    line 57: $region = $this->wpec_taxes_retrieve_region();
    $region is empty when the function is ran and such all tax calculation is failing for the first time.

    However, I can’t get the code to work correctly the first time. I’ve tried several configurations with no luck. If anyone else can dig into the code as well and hopefully find a fix that would be great…

    This isn’t the solution, but will hopefully help point to one.

    When I add items to the cart, check out and calculate tax/shipping the tax appears correctly. However, when I use an invalid card number to check out I get redirected back to the checkout screen and the tax is now set to $0.00.

    So, it looks like the value for tax is not being carried through the checkout form during checkout.

Viewing 3 replies - 1 through 3 (of 3 total)