From fe718c971c87b21515ec8fa364743d53c2cbf31c Mon Sep 17 00:00:00 2001 From: Jitendra Purohit Date: Mon, 3 Jun 2024 18:20:40 +0530 Subject: [PATCH] Refresh payment block on selecting Pay later (#937) --- 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) {