#gab gab
1 messages · Page 1 of 1 (latest)
Hello! To clarify, do you want them to choose a price once at the beginning and pay that same amount for each Subscription period, or do you want them to choose the amount for every period?
It will be same price until they cancel it
You can do that. You would need to build a UI to collect the info you need, like the amount, then pass it to your server and create the Subscription there for the specified amount.
You can use price_data when creating a Subscription to specify an arbitrary amount: https://stripe.com/docs/api/subscriptions/create#create_subscription-items-price_data
Ok perfect. May I ask what I shall do to support quaterly & halfquaterly interval ? It seems I can only pass 'day, week, month or year', THanks
For quarterly you would specify the interval as month and the interval_count as 3, for example.
That will charge them every 3 months.
Ah ok I see. Got it!
You can combine those two properties to model other pricing intervals.
thanks a lot