• kandrews

    (@kandrews)


    When someone is putting in an order, I am seeing that sometimes the billing state dropdown changes to an input box. This is causing the user to insert the state manually, and if they enter “Florida” instead of “FL”, then the tax is not being added to the order.

    I’ve seen this issue happen when coming from the cart and first time hitting the checkout page. If I reload the page, then the dropdown is displayed from then on.

    This is critical as this issue is on a production site and orders are coming through without tax.

    https://wordpress.org/plugins/jigoshop/

Viewing 8 replies - 1 through 8 (of 8 total)
  • OptArt

    (@optart)

    Hi kandrews,
    it seems like issue with js on your end – please check if it works with standard theme fine
    check as well if there are no js errors in console log for that page

    Thread Starter kandrews

    (@kandrews)

    You were correct, as it was a clashing plugin.

    For future reference it was the Respond.js plugin that seemed to be causing the issue with the state. Was tough to find this one since there were no items in the debugger.

    Thanks.

    Thread Starter kandrews

    (@kandrews)

    Actually, this may not have solved the issue as we are still seeing no tax.

    One thing I am seeing is that if a user who has data saved for the billing and shipping buys another product, data for the cart does not update.
    So for instance, I am the admin and right now I am on the checkout screen.
    All my data is carried over, but the tax is zero and there is no shipping method to select “Please enter your shipping destination and postal code to view shipping options and rates. There may be no methods available for your destination and you should contact us for assistance.”
    The only way to get this to update is to change and item in the form.

    And I don’t see any js errors in the debugger.

    Thread Starter kandrews

    (@kandrews)

    I have gone through each of the js files that the page is loading and don’t seem to see any conflicts that would overwrite the states variable in the checkout.js file. The condition states[country] looks to be failing for some, so the state select is being replaced with the input field.

    This wouldn’t be an issue, but users are putting in the entire state name, but jigoshop only checks for the state code. So “Florida” =/= “FL” and that is why the tax doesn’t calculate since it is looking for “FL”.

    OptArt

    (@optart)

    Hi Kandrews,
    Thanks for check, but why is js still not working for this dropdown? Are you sure no other errors occur?
    In the meantime, we’ll check if it’s possible to verify in that place both full and short name.

    Thread Starter kandrews

    (@kandrews)

    We are still trying to figuring out why it is failing. Since it is so random, it is hard to replicate the issue most of the time. The only way we know when it happens is when an order comes through without tax.

    For now, the quick fix I added was to comment out the else condition and instead of replacing the select with the input, I have it replaced with text. This at least has stopped the orders with no tax and also put a hold on the the yelling from our client haha.

    OptArt

    (@optart)

    Thanks for info, we’re still investigating the issue

    OptArt

    (@optart)

    Hi @kandrews,
    We still have issue with finding the reason it’s behaving this way for you. Can you send us your Jigoshop System Info to support@jigoshop.com ? Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Billing State Selection Switchs to Input Field – CRITICAL’ is closed to new replies.