From b18864cb08323dac927ceca29aca911e4b9933fc Mon Sep 17 00:00:00 2001 From: Matthew Wire <mjw@mjwconsult.co.uk> Date: Thu, 20 Feb 2020 21:28:02 +0000 Subject: [PATCH] Fix duplicate call to setBillingFields --- js/civicrm_stripe.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/civicrm_stripe.js b/js/civicrm_stripe.js index 33531890..b29b925a 100644 --- a/js/civicrm_stripe.js +++ b/js/civicrm_stripe.js @@ -264,8 +264,6 @@ CRM.$(function($) { card.mount('#card-element'); debugging("created new card element", card); - setBillingFieldsRequiredForJQueryValidate(); - if (postCodeElement) { // Hide the CiviCRM postcode field so it will still be submitted but will contain the value set in the stripe card-element. if (document.getElementById('billing_postal_code-5').value) { -- GitLab