From de9c2f5d4a0dba160760c837af456f6b791c0432 Mon Sep 17 00:00:00 2001 From: Jitendra Purohit <purohitjitend@gmail.com> Date: Fri, 12 Jan 2024 10:16:51 +0530 Subject: [PATCH] Refresh payment block on selecting Pay later --- js/webform_civicrm_payment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/webform_civicrm_payment.js b/js/webform_civicrm_payment.js index 0adf0e976..f2efb5acf 100644 --- a/js/webform_civicrm_payment.js +++ b/js/webform_civicrm_payment.js @@ -13,7 +13,7 @@ function loadBillingBlock() { var type = getPaymentProcessor(); - if (type && type !== '0') { + if (type) { $.ajax({ url: setting.contributionCallback + '&' + setting.processor_id_key + '=' + type, success: function(data) {