#swe_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/1306625847998025758
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- swe_api, 11 minutes ago, 7 messages
Let's say we are building a two-step checkout flow using Stripe APIs here. (not stripe checkout)
- We get the bank account details.
- We save it temporarily using sources API.
- Customer does checkout.
- In last step, we use this temporary token to attach it to a customer and then do payment.
But, now, we do not have any alternatives to second step. Is there any other alternative other than intents API? We are not getting mandates in payment methods.
๐ happy to help
We save it temporarily using sources API.
the sources API is pretty much deprecated and you shouldn't use that
yes, we are working on the changes to move from sources api
Is there any other alternative other than intents API? We are not getting mandates in payment methods.
would you mind sharing an example?
a request ID perhaps? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Sure.
are you using setup_future_usage: 'off_session' ?
As an alternative, we are trying to use curl --location 'https://api.stripe.com/v1/payment_methods'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Authorization: Basic 0QzMWhLcGI5Wk9QR3kwaEZWN3Z4TDAwRkxYcFVIYVQ6'
--data-urlencode 'type=sepa_debit'
--data-urlencode 'sepa_debit%5Biban%5D=AT321904300235473204'
--data-urlencode 'billing_details%5Bname%5D=John Doe'
--data-urlencode 'billing_details%5Bemail%5D=test@abc.com'
But, this doesn't return mandate. That's our issue.
We want mandate creation and in response without intent flow
actually you don't need PaymentIntent if you just want to save the PaymentMethod
instead you can just use SetupIntents
We do not want to use boht.
unfortunately you don't have a lot of options here
We are looking for something that will mimic the sources API behaviour
SetupIntent will do that for you
But, I can't create a unconfirmed setup intent for SEPA right?
you can't create the Mandate using the PaymentMethod API
what does that mean?
you want to create a SEPA mandate without the customer being on session?
I want to create setup intent first - when the customer adds bank account.
In last step before checkout, i want to confirm the setup intent.
oh that's doable
regardless of the payment method type
this is how you do it
Okay, that makes sense. I will investigate this and get back
But, there is no way to get mandate information in payemnt method right? ๐ค
the only way to create the mandate is with Stripe.js while the customer is on session
Got it, can you share the docs for that?
it's the doc I shared
Makes sense, thank. you