Home Forums Plugins CURCY – WooCommerce Multi Currency WMC not functioning at “Checkout -> Order-pay” endpoint

WMC not functioning at “Checkout -> Order-pay” endpoint

  • Author
    Posts
  • #184511

    Viktor Kray
    Participant

    Good day!

    Developer here, please be specific.

    We have an issue with WMC not working at Checkout -> Order Pay endpoint (/wp-content/plugins/woocommerce/templates/checkout/form-pay.php).

    It works just fine on normal Checkout page though (/wp-content/plugins/woocommerce/templates/checkout/form-checkout.php).

    From what we see so far “woocommerce_review_order_before_payment” hook is not fired and the following code is not added on the order-pay page:

    <script type=”text/javascript”>
    (function ($) {
    $(‘form.checkout’).on(‘change’, ‘input[name^=”payment_method”]’, function () {
    $(‘body’).trigger(‘update_checkout’);
    });
    })(jQuery);
    </script>

    Simply overriding template (form-pay.php) in child theme and adding the code does not solve the issue, as some WMC scripts may not be enqued normally at the endpoint.

    Any ideas how to solve this?

    Thanks!

    BR,
    Alexei Danilchik

You must be logged in to see replies to this topic. Click here to login or register