#edutomesco
1 messages · Page 1 of 1 (latest)
hi there,
You can follow this guide for it:
https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#create-subscription
but about the question
is it possible to define that with checkout?
I know that doing on the other way it's possible
No that's not possible
Why would you want to create an incomplete subscription via Checkout?
because I want to wait to provide the subscription until the payment is success
Imagine a subscription and you paid with SEPA will take some minutes or days to confirm the payment, and I don't want the subscription to be in active status
And the checkout session create always the subscription with active status by default independent of the payment status
It would be interesting you can apply that logic in the checkout too!
Yep, it's good feedback! Our recommendation currently is to listen for checkout.async_payment_* events and handle accordingly: https://stripe.com/docs/payments/checkout/fulfill-orders#delayed-notification