#erangalp
1 messages Β· Page 1 of 1 (latest)
We are using webhooks
than you can rely on the https://stripe.com/docs/api/events/types#event_types-setup_intent.succeeded event to know that the payment method was successfully setup
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That's fine, and we are using that, but in case there's an issue with the webhooks, we used to rely on being able to check the verification status just by retrieving the payment method. That seems to longer be the case with the "us_bank_account" PM, and there's no link to the original setup intent either
Is our only option storing the setup intent separately? seems somewhat convoluted
but in case there's an issue with the webhooks
the event will be retried
I mean on our end or for any other reason
It makes it hard to debug when you have to rely on webhooks only for information
let me check if there's any other way of achieving this
Thanks!
Hello π
Are you using financial connections flow for bank account verification?
@ripe fractal I've never heard of financial connections. We're using the Payment Element flow
Previously we used the Card element and had sources instead of payment methods for ACH bank accounts
It was much simpler to verify it back then
does it look like this when you attempt verification?
https://stripe.com/docs/invoicing/ach-debit?dashboard-or-api=api#complete-payment
Somewhat similar, though we use the setup intent flow
After selecting the "Enter bank details manually" we receive an unverified payment method
right, that I believe is the micro-deposit flow for verification
Yes
So if you primarily use financial connections flow then you'd have a Financial Connections account object which would give you access to various properties
How do we get that from the setup intent?
Or rather, at what point in the flow do we receive this financial account object?
You'd typically see it on PaymentMethod object (after the setup process was successful)
https://stripe.com/docs/api/payment_methods/object#payment_method_object-us_bank_account-financial_connections_account
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
This is what we receive (at least on the sandbox) -
["us_bank_account"] => object(Stripe\StripeObject)#171 (8) {
["account_holder_type"] => string(10) "individual"
["account_type"] => string(8) "checking"
["bank_name"] => string(16) "STRIPE TEST BANK"
["financial_connections_account"] => NULL
["fingerprint"] => string(16) "3kH6uTvhAgQwVW5x"
["last4"] => string(4) "6789"
["networks"] => object(Stripe\StripeObject)#182 (2) {
["preferred"] => string(3) "ach"
["supported"] => array(2) {
[0] => string(3) "ach"
[1] => string(16) "us_domestic_wire"
}
}
["routing_number"] => string(9) "110000000"
}
"financial_connections_account" is null
hmm gotcha.
Don't think it used financial connections API π¦
Again I'm not sure what API that is. We're just using setup intents with the Payment Element
Is there a different flow for capturing bank account details?
Ah my apologies, this API is still in beta.
It allows you to instantly verify accounts for ACH direct debit payments
https://stripe.com/docs/financial-connections/ach-direct-debit-payments
Learn how to collect a customerβs bank account for ACH Direct Debit payments, and use account data such as balances to optimize your payments integration.