#udit7059
1 messages · Page 1 of 1 (latest)
Hi there!
hi
Yes you could create a Subscription for this, with cancel_at_period_end: true: https://stripe.com/docs/api/subscriptions/create?lang=node#create_subscription-cancel_at_period_end
However it might be simpler to just accept a one-time $10 payment, and track on your end when the customer has reached one month.
so I'm using a Firebase Stripe Extension where I only create a checkout session and there are other things hidden behind the scenes. Can I pass that param in the checkout session as well?
No I don't see that option in Checkout Session. But once the Subscription is created you can always update it with cancel_at_period_end: true.
But again, I would recommend to just accept a one time payment for your use case. It's going to be simpler to manager for you.