• Resolved T.McGuire

    (@tmcguire)


    Suddenly the shipping field on the checkout page is no longer automatically updating with the shipping fees. The only way to get it to update is to tick and un-tick the ‘Ship to a different address’ checkbox. This somehow sends a request to fetch the shipping data. When viewing the WooCommerce Services Status page I see the following error. I’m using 1.13.2 of the plugin.

    /plugins/woocommerce-services/classes/class-wc-connect-help-view.php on line 258

    The most recent log entry shows:
    05-17-2018 @ 09:31:25 – Successfully loaded service schemas from server response. (fetch_service_schemas_from_connect_server)

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Jeff Stieler

    (@jeffstieler)

    Hello @tmcguire,

    WooCommerce Services only calculates shipping after WooCommerce is triggered to update cart contents or shipping address. I tested your store, and the form didn’t triggered shipping calculation until I tried your tick/un-tick method. I believe this is may be an issue with your theme or a plugin that’s modifying checkout behavior.

    In the browser console, I see the following error:
    Error: reCAPTCHA placeholder element must be an element or id

    Perhaps you can try deactivating your reCAPTCHA plugin for testing. It might be breaking your checkout form.

    Thanks for reporting the PHP Warning you’re seeing. Since that’s occurring only on the Status page, it can’t affect the Checkout page. Either way, we’ll get that fixed in the next release.

    Thread Starter T.McGuire

    (@tmcguire)

    I wish that was the issue. I keep a close eye on the JS console and browser inspector which led me to remove that plugin and test without it – no change in behavior. I’ll do more plugin pruning and see if there may be an errant jquery call somewhere that is causing the issue.

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hey @tmcguire

    Hopefully you can find the cause of this – [edit] the latest release 1.13.3 didn’t fix the PHP warning. You can follow along here – https://github.com/Automattic/woocommerce-services/issues/1405

    It might be an idea to go through a conflict test to see what is causing this problem. Does this happen when using a default theme?

    You can read more about plugin and theme conflicts in the documentation here: https://docs.woocommerce.com/document/woocommerce-self-service-guide/

    Let me know how you get on!

    Thanks,

    • This reply was modified 6 years, 6 months ago by dougaitken. Reason: edit to address non-fix of PHP warning and link to GH Issue
    Thread Starter T.McGuire

    (@tmcguire)

    After an exhaustive process of turning on and off plugins, it seems that the error is from a conflict with the ‘WooCommerce Checkout Manager’ plugin. Which makes sense since it is used for modifying fields related to customer info.

    I disabled it and the issue has gone away. I’ll try another solution to re-order my check out fields.

    Thanks for your attention on this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shipping price not updating’ is closed to new replies.