#David Filkins
1 messages · Page 1 of 1 (latest)
So you are setting up a us_bank_account Payment Method via Checkout, then you are trying to have that Payment Method show up in Checkout later on?
My goal is to allow the users to set up multiple payment methods in advance of actually purchasing. The Checkout Session with Mode = setup seems like the right approach... and it works great for credit cards. Just assuming that it would function the same way for US bank accounts.
I would expect that too. Do you have a customer ID I can look at?
Yes to your prior question. I'd like all payment methods set up to be available during subsequent 'payment' Checkout Sessions
The Test customer I'm working with: cus_Nmi4kmbd0xa8Wm
FWIW - I'm using the baked in "Test Institution" bank and selecting the Active account
Ahhhh, okay. So that Customer does have 2 us_bank_account payment methods attached, but it looks like this is a limitation of Checkout. From the API reference for Checkout Session creation: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer
In payment mode, the customer’s most recent card payment method will be used to prefill the email, name, card details, and billing address on the Checkout page
FWIW, I believe Stripe Link addresses this limitation and would allow your customers to select between cards and bank accounts: https://stripe.com/docs/payments/link/accept-a-payment
hmm... I'm not sure Link will be the best for my use case as I cannot always guarantee that the user initiating the order was the same as the user who set up the payment method on the account - essentially a shared account approach
I assume I can interact with the APIs directly to store / retrieve bank account information since those are not technically part of PCI? Then I'd just need to determine if a user should be paying via card (follow the current flow) or via bank account (follow a different, custom one)?
That would work, yeah
since I've got you already, any idea why the SMS validation codes aren't being sent to me in test mode? When I revisit the setup screen, I'm prompted to enter the SMS code, but it never comes. I've also tried to send an email instead, but nada. Is there some setting I'm missing?
Thanks a ton BTW!
Sure thing!
👋 stepping in for my teammate who needs to run! @coarse wigeon are you referring to the Link SMS codes?
If so, this is expected. Codes won't be sent in test mode. You can use any 6 digit code to simulate a success, or one of these codes for a failure: https://stripe.com/docs/payments/link/accept-a-payment?platform=web&ui=checkout#web-test-the-integration
Nice! I figured it was something like that, but never even considered just trying a random one.