#nerder-subscriptions
1 messages · Page 1 of 1 (latest)
that's fundamentally true yes. I would use Checkout though instead of building it myself.
but my question is, I need to keep track myself of the time? Or it will create a subscription?
keep track of what exactly? we don't create a subscription unless you call the API to do it
The point is that the product i'm selling are gym membership
so I want them to be recurring payments
we already support sepa_debit subscriptions
but I would love to give the user in the netherlands a nicer experience by being able to connect using iDeal
so that they don't have to insert their IBAN manually
basically the use case I would love to have is to have a subscription created with iDeal, where the first invoice is paid with iDeal, and the following with SEPA DD
yep I get all that, makes sense
I found this, but is trough checkout
if you use Checkout it supports all this easily yep , that's what I would use
yes, this is one option
even if i'd prefer to avoid the redirect outside the app
and keep the experience integrated
ok, cool, so what are your specific questions?
what you say is all true — you'd need to do an initial one-time iDEAL payment for the amount of the first billing period.
Then you set up the customer to have a default_payment_method set to the generated SEPA DD object
Then you create a subscription(with a trial period to skip the first payment since it happened through iDEAL already).That subscription recurs as normal over time and will charge the default payment method.
ok then, basically is this guide: https://stripe.com/docs/payments/ideal/save-during-payment
but at point 6 instead of creating the paymentIntent, i create the subscription
just wanted to double check with some expert before to start a lengthy integration eheh
well as an expert my advice is to use Checkout!
But yep at step 6, what you want to do is while handling the payment_intent.payment_succeeded webhook event for the initial iDEAL payment, set up the customer's default payment method and then call the Subscriptions Create API (using trial_end/trial_period_days to skip the first month for example) to set up a recurring subscription that will charge the SEPA details each month
we used to have a guide on that approach but I can't find it right now, it was likely removed when we started supporting this use case in Checkout