#swe_api

1 messages ¡ Page 1 of 1 (latest)

cedar sapphireBOT
#

👋 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/1245375898178420756

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

fathom silo
#

The flow which we are following right now. Hakuna matata is the service that I am building.

peak steeple
#

Let me know if that helps^

fathom silo
#

I have tried this approach of creating a payment intent for ideal with customer ID.
The payment intent is successful and the payment is via ideal. But, there isn't any SEPA payment method created for that customer.

peak steeple
#

Are you setting setup_future_usage parameter?

fathom silo
#

My use case is, when the user is in session -

  1. I want to collect the first payment via ideal
  2. Save the payment method as SEPA for future payments.

And I want the customer to authorize only once.

peak steeple
fathom silo
#

Got it, it worked with setup_future_usage parameter. Thank you.

#

So, can I use setup intent here, if I am not making a payment in the first attempt?
And use payment intent, if payment is involved in the first attempt?

peak steeple
#

Yup, you can do that.

fathom silo
#

Perfect, thanks