0

If reloading is not possible, perhaps triggering a reload somehow?

I wish to update the payment section based on minicart changes. Right now I have an ugly solution by reloading the entire checkout page (payment step) again, which forces the payment methods to reload - but I don't like it, and would prefer an ajax reload.

Anyone got any ideas?

Thanks.

1 Answer 1

0

It works for me.

require([
    'Magento_Checkout/js/action/set-shipping-information'
], function (
    setShippingInformationAction
) {
    setShippingInformationAction();
});
1
  • mmm, and this reload the payment methods? Commented Dec 24, 2022 at 16:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.