How to make WooCommerce update shipping costs on update_order_review

Been banging my head over this for a couple of days now and couldn’t find any answers until I actually got it to work.

I needed to recalculate shipping costs based on what payment method was selected but triggering update_checkout didn’t actually recalculate shipping costs.

So all you need to do is the following:

There are no comments yet, add one below.

Leave a Comment

Your email address will not be published. Required fields are marked *