mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Improve Stripe ACH Payments with microdeposits
This commit is contained in:
parent
9bec6d458b
commit
c7bf4b630b
@ -207,8 +207,10 @@
|
|||||||
gateway_response.value = JSON.stringify(paymentIntent);
|
gateway_response.value = JSON.stringify(paymentIntent);
|
||||||
document.getElementById('server-response').submit();
|
document.getElementById('server-response').submit();
|
||||||
|
|
||||||
} else if (paymentIntent.next_action?.type === "verify_with_microdeposits") {
|
} else if (paymentIntent.next_action?.type === "verify_with_microdeposits" || paymentIntent.next_action?.type === "requires_source_action") {
|
||||||
|
errors.textContent = "You will receive an email with details on how to verify your bank account and process payment.";
|
||||||
|
errors.hidden = false;
|
||||||
|
document.getElementById('new-bank').style.visibility = 'hidden'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user