#beadle_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1384240024610148459
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there,
when you talk about async, can you clarify what exactly you mean?
Sure. We send customers to a checkout session to buy products. Sometimes the payment is not completed immediately. We get a checkout.session.completed webhook but the payment_status = "unpaid". Then some days later we get a checkout.session.async_payment_method_succeeded webhook with payment_status = "paid"
I thought by passing in verification_method: instance to the checkout session that we were not allowing async bank accounts to be used
verification_method: instant*
Hello
Instant verification does not imply faster settlement with ACH Debit.
I didn't think that it did.
It could take upto 4 days regardless
What does instance_verification do?
Instant Bank Payments with Link offer faster settlement - https://docs.stripe.com/payments/link/instant-bank-payments
instant*
What does instance_verification do?
Verifies that the account is valid and belongs to the customer using Financial Connections flow
As opposed to micro depoits?
Microdeposit flow credits a few cents to customer's bank account.
The customer would then need to provide the amount to Stripe as a mode of verification
However, that credit could take upto a few days
Before Stripe can submit a request to debit a bank account, it needs to be verified and validated. That's where verification_method becomes relevant
Ok, a few questions to clarify:
- You said ACH Debit earlier. Is that the same payment method as us_bank_account?
- If a customer has already has a verified us_bank_account payment_method associated with their Stripe account, does it still take multiple days to process? Aka, are all us_bank_account payments asynchronous?
- Yes
- Yes
If a customer already has*
Got it.
Last question. Is there any way to simulate the delay from checkout session complete and the async payment method finalizing?
In a test environment that is
Maybe use the test bank account that stays in processing indefinitely?
000000000009 pm_usBankAccount_processing?
Hmm I don't think we have a test payment method that completes successful payment after a delay - https://docs.stripe.com/payments/ach-direct-debit#test-account-numbers
That one will stay in processing forever. The payment won't complete
Is there anything specific you're trying to test?
Maybe you could use Stripe CLI to trigger checkout.session.async_payment_* events
Cool. I will give that a try.
I think I have a good path forward now. Thank you for your help!
NP! ๐ Happy to help