diff --git a/js/index.js b/js/index.js index bb533e4b1e4869da821eea4e7c94617cac555451..7dc4a36ef5d6762b17598d730acc1b0588649daa 100644 --- a/js/index.js +++ b/js/index.js @@ -25,7 +25,7 @@ $(() => { url: phpvar.ajax_url, type: "post", data: { - action: 'woocommerce_after_checkout_validation', + action: 'validate_checkout', nonce: phpvar.nonce, }, success: function (data) {