#Hugues
1 messages · Page 1 of 1 (latest)
One you've used the setup intent to collect the payment method and set it as the mandate, you'd set it as the default payment method on the customer and immediately create a subscription for them
Sorry, not quite clear.
My understanding of the sequential process is this:
- The client initiate the creation of a setup intent.
- The server creates a setup intent.
- The client acknowledge to the mandate terms and that's it
At which stage do you propose to create the subscription?
After step 3 - at that point you can create the subscription and pay for it using the payment method that was setup through the setup intent
That's what I thought. But after step 3, the process is complete. There must be a way to trigger the server that the setup intent status is successful?
You can listen for setup_intent.succeeded and trigger further server-side API calls from there
I see... Thanks! I'll try that - Have a nice day