mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #9119 from beganovich/fixes-for-payment-links
Payment links: Update payment method form submission delay
This commit is contained in:
commit
988b0850bb
@ -14,6 +14,10 @@
|
||||
document.getElementById('payment_method_id').value = paymentMethodId;
|
||||
}
|
||||
|
||||
Livewire.on('beforePaymentEventsCompleted', () => document.getElementById('payment-method-form').submit());
|
||||
Livewire.on('beforePaymentEventsCompleted', () => {
|
||||
setTimeout(() => {
|
||||
document.getElementById('payment-method-form').submit()
|
||||
}, 2500);
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
Loading…
x
Reference in New Issue
Block a user