diff --git a/public/js/clients/payments/stripe-bacs.js b/public/js/clients/payments/stripe-bacs.js index 0cc7a1b12e..db5dd01cd2 100644 --- a/public/js/clients/payments/stripe-bacs.js +++ b/public/js/clients/payments/stripe-bacs.js @@ -44,7 +44,6 @@ class ProcessBACS { });} else{ document.getElementById('pay-now').addEventListener('click', (e) => { - let token = document.querySelector('input[name=token]').value; let payNowButton = document.getElementById('pay-now'); this.payNowButton = payNowButton; this.payNowButton.disabled = true; diff --git a/resources/js/clients/payments/stripe-bacs.js b/resources/js/clients/payments/stripe-bacs.js index 0cc7a1b12e..db5dd01cd2 100644 --- a/resources/js/clients/payments/stripe-bacs.js +++ b/resources/js/clients/payments/stripe-bacs.js @@ -44,7 +44,6 @@ class ProcessBACS { });} else{ document.getElementById('pay-now').addEventListener('click', (e) => { - let token = document.querySelector('input[name=token]').value; let payNowButton = document.getElementById('pay-now'); this.payNowButton = payNowButton; this.payNowButton.disabled = true;