• Resolved infosws

    (@nicksws)


    Updated from 4.4.8 to 4.4.9 a few days ago. Now every single button doesn’t work.
    It shows a white page with “Error! The shipping price validation failed.”
    It was working fine before the upgrade.

    Example button code is:

    [wp_cart_button name=”2: Full Membership UK” price=”38.00″]

    Has something been changed?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter infosws

    (@nicksws)

    A further update for you.

    It seems that W3 Total Cache minifying is removing the value if it’s zero on the shipping line.

    <input type=”hidden” name=”shipping” value=”0″>

    Not sure if other minification plugins would also do that.

    As a workaround, for now, I’ve removed that page from the caching.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, thank you for reaching out to us. Yes a cache plugin will cause the issue you reported here. Excluding the shopping cart pages from getting cached will do the trick.

    If your issue is resolved, can you mark this support thread as resolved.

    Thank you

    @nicksws and @mbrsolution

    I am having the exact same issue every button not working and throwing the “Error! The shipping price validation failed.” error. This is happening with carts on two different sites I maintain: https://jewishteeninitiative.org/programs/community-plus-events/loon/ and https://amws.org/payment-center/

    Did removing the page from the caching fix this error? Because I adding
    /loon/*
    /loon/
    /programs/community-plus-events/loon/
    /programs/
    to the Never cache the following pages section and save and cleared the cache. And that did not work.

    • This reply was modified 4 years, 11 months ago by KoolKatDesign.

    I also tried rolling back both the WP simple shopping cart and W3 cache plugins (1 at a time) to previous versions and that didn’t work either?

    I deactivated the W3 plugin and that has fixed the cart issue but now my site is not cached. What did I do wrong when trying to exclude the page from the cache plugin’s configurations?

    Thread Starter infosws

    (@nicksws)

    Hi,

    I removed the page from the minify settings (“Never minify the following pages”).

    I still don’t know why W3TC minify removes it from the page though yet as it’s not ideal.

    Hope this helps.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    @nicksws, thank you for sharing your solution. Is your issue now resolved? If it is can you mark this support thread as resolved.

    Thank you

    Thread Starter infosws

    (@nicksws)

    Hi @mbrsolution,

    I’m not sure I’d say “resolved” but the solution does work around the issue for now.

    We’ll need to investigate further as it does seem an odd thing to happen when minifying a page.

    I’ll set it to resolved. I might come back if we get any more information on it.

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘The shipping price validation failed’ is closed to new replies.