Bugs & Feature Requests
Gateways, Merchant Accounts, Bank Accounts, Oh My!
The Foxy forums are on the move!
We're in the process of
moving our forums over to a new system
, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to
reach out to us via email
Shipping not working for free trial
edited February 2014
The shipping option is preselected but it is not applied to the price. However once 'complete your purchase' is clicked then an error ppos up and tells you to put in your credit card info. It does not happen when purchasing a regular product (
), the trial has the error (
So this is a really weird one, and I'm still yet to put my finger on what the actual issue is. If I remove the 'removeShippingOption' function calls from your shipping logic, it works just fine - but fails with those present. The weird part is, the text of the select shipping option (in a hidden form input) updates correctly, just the shipping price doesn't update in the totals (which happens at the same time as that hidden input updating). If you run the logic to trigger the click of the last shipping option input in the console after the page has loaded, it also updates successfully.
All in all, very weird. So 2 fixes for you that get around this currently unknown little issue - you can alter your logic to remove the 'removeShippingOption' calls (by instead conditionally adding the items you're removing), or add this after the 'trigger("click")' line:
Thanks for your help! I added the line after the 'trigger("click")' and its working.