mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
fix stripe
This commit is contained in:
parent
7f31d076b6
commit
bdce885290
6
resources/js/clients/payments/process.js
vendored
6
resources/js/clients/payments/process.js
vendored
@ -58,7 +58,7 @@ class ProcessStripePayment {
|
||||
completePaymentWithoutToken() {
|
||||
let payNowButton = document.getElementById('pay-now');
|
||||
this.payNowButton = payNowButton;
|
||||
|
||||
|
||||
this.payNowButton.disabled = true;
|
||||
|
||||
this.payNowButton.querySelector('svg').classList.remove('hidden');
|
||||
@ -73,10 +73,6 @@ class ProcessStripePayment {
|
||||
},
|
||||
})
|
||||
.then((result) => {
|
||||
document
|
||||
.getElementById('processing-overlay')
|
||||
.classList.add('hidden');
|
||||
|
||||
if (result.error) {
|
||||
return this.handleFailure(result.error.message);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user