#sunnylbk_api
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/1384846809096130621
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! i'm working on another thread at the moment but i'll get back to you asap
for the request ID you provided, is that the first or the second time this customer is checking out with that bank account?
Second time
can you share the first request too?
req_8eUJ0WcKllGcXf
hi! I'm taking over this thread.
do you expect the Payment Element to re-display the previously saved bank details to the user?
looking into this
sorry for the delay.
based on this doc, us_bank_account should be supported in the Payment Element. https://docs.stripe.com/payments/existing-customers?platform=web&ui=elements
will try to reproduce this on my end.
Do we have to pass any params for us_bank_account when creating a payment intent?
I don't think so no. can you share a PaymentIntent ID (pi_xxx) that you created and has this issue?
I am not seeing a payment intent, I see a checkout session log
This is the request I tried again with the same bank account, req_L64C6xdSSAXd9q
wait I'm confused. are you using Payment Element or Checkout Session?
Checkout Session can only redisplay card payment methods, not bank account. this is explained here: https://docs.stripe.com/payments/existing-customers?platform=web&ui=stripe-hosted
I see. Is there any other way to display bank accounts without payment element?
Specifically from the server side
๐ taking over for my colleague. Let me catch up.
I think you're referring to this https://docs.stripe.com/payments/ach-direct-debit/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api right?
It's not a direct debit. We are looking to provide option to pay one time via bank transfer, one time without using it direct debit
Currently, every time they try to pay, they are having to enter the bank details and go through micro deposit verification
then this is the doc https://docs.stripe.com/payments/bank-transfers/accept-a-payment?payment-ui=direct-api
this is ACH DD
this is not a bank transfer
This is the request id for the checkout session, req_aa673Zj51fl9lB
We are not specifying it as DD
Is the value for this us_bank_account?
us_bank_account is ACH Direct Debit
I see, can you please point to what should we pass for bank transfer?
Thank you!
We specified us_bank_transfer as option, now we are getting this error
Hi ๐ that's because it isn't a support payment method type, nor what the guide my teammate provided instructs you to use.
Can we update the labels in above, like using ACH Direct Debit instead of US bank account?
And does Stripe automatically mark invoice as paid once payment is done via bank transfer?
No, you cannot adjust names of the payment method types that we show.
Depends on the reconciliation mode that you have selected. We talk in more detail about how automatic reconciliation works, including how it determines what Invoices/Payment Intents to apply funds to, as well as how to use manual reconciliation if that is a better fit for your flow, in our reconciliation guide here:
https://docs.stripe.com/payments/customer-balance/reconciliation
Let me know if that doesn't give you the insight you're looking for though.
I'm also very nervous that there may be misalignemnt between what you're trying to do and what my teammates think you're trying to do.
Do you want to step back to make sure we're aligned on what you're really trying to accomplish first?
Like with Bank Transfer payments, your customers will need to trigger a wire/transfer from their bank to the bank account information we provided for each payment (they need to push funds to you). However, from your initial message, I was getting the impression that you want to accept ACH Direct Debits (where you pull funds from your customer's bank accounts) for multiple payments without your customer needing to provide their bank information each time.
If your goal is the second thing I described, then Bank Transfers won't help you resolve that.
We are looking for a way where our clients can pay a one off invoice without going through direct debit workflow. Will such a thing always be a push?
Can you elaborate on that? Like your customers have to provide payment method details at least once.
For example, with direct debit, micro depoit workflow can take 1-2 days. In the meanwhile, if they have to make a payemtn urgently, how can they do it?
They user another type of payment method that doesn't take that long to set up, or they use instant verification to set up their bank account with us quicker, or you don't press them to make another payment until the first one completes and you have a payment method that you can reuse (assuming you're setting those up for reuse)
What do you want your cusotmer experience to be in this situation?
Instant verification isn't available with all the banks, right?
In such cases, we want our customer to enter their account/routing number and Stripe can pull funds one time from that account
Like it would do with card payments
I'm a little confused then, isn't that the flow you had? Where your customers are being asked to provide their bank details again, so funds can be pulled from the account one time.
Correct
Sorry, adding more details. It was pulling funds, but client is having to go through micro deposit verification every time they wanted to pay
Even for the bank account which they added earlier
Because you're asking them for new bank details each time, right?
It wasn't doing same thing for cards
With card, once a payment was added, it was showing up. Your collague pointed out that bank accounts can't be shown like that
With checkout sessions
Streamlining our use case further: Our client is entering bank details and going through micro deposit verification. One that method is verified, if they want to make payment again later with same payment method, ideally, we don't want them to enter the details again. We want them to use already added bank account to make the payment
They don't have to, you could just process a payment for them using the saved Payment Method.
It sounds like you're using the flow we show in this guide:
https://docs.stripe.com/payments/save-during-payment?client=js
So, when you want to charge your customer later using the Payment Method they set up when going through a Checkout Session previously, you'd create the related payment objects and use their saved payment method to process the payment.
That is what is shown in Step 7 of that guide, but exactly how you do that may change depending on whether you want to use a Payment Intent to process that subsequent payment or a higher order object like an Invoice.
Our client could have added card and bank details earlier. So, we want to give them option to choose from already added payment methods when they make payment. Can we do if they have earlier added a card and bank details?
Not via Checkout Sessions.
You could use your own UI to show the customer their payment methods that you have saved for them, and allow them to choose which one to use for the subsequent payment.
or
Alternatively, you could implement our Payment Element instead, which does support letting customers choose from more saved payment method types than Checkout Sessions.
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#save-payment-methods
Yes, it sounds like this is what we have to do: either have our own UI or use embedded element. Tried to see if there's a way to achieive similar with serve-side