#praveendd25
1 messages · Page 1 of 1 (latest)
i can see only these options
how to test this Us bank account options?
@valid grove please help me out
are there any errors in the browser console when this happens?
it is not about error which one should be used to test this us bank acocunt ?
you would click "Test Institution"
but it is not showing success it is showing processing
that's expected since the payments take a while to succeed : https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=API#web-confirm-paymentintent-succeeded
but am not using web hooks, i am verifying payment status in confirm payment itself
it's not possible to "not use" webhooks, they are part of the integration
i am verifying payment status in confirm payment itself
yep, and you confirmed that the payment has started processing, which is normal. It then takes multiple days for US Bank account payment to succeed or fail, and you get a webhook when that happens.
this.stripe.confirmPayment({
elements,
redirect: "if_required"
}).then(function (result) {
// Handle result.error or result.paymentIntent
if (result.error) {
$("#div_loader").hide();
bootbox.alert(result.error.message);
}
else {
switch (result.paymentIntent.status) {
case 'succeeded':
if (callbackSuccess != null)
callbackSuccess(result.paymentIntent);
break;
case 'processing':
if (callbackSuccess != null)
callbackSuccess(result.paymentIntent);
break;
case 'requires_payment_method':
callbackError({ errorCode: Code.error, errorMsg: 'Payment failed. Please try another payment method.' });
break;
default:
callbackError({ errorCode: Code.error, errorMsg: 'Something went wrong. Please try again.' });
break;
}
}
});
ok
so yeah, all good.