#Carlos-Mascarenhas-sub-charge-later
1 messages · Page 1 of 1 (latest)
Hi there! You would want to use a trial period for the Subscription but still collect card details up front.
no
Didn't want to offer trial period
I want to create a subscription, however, billing on a specific day
Okay in that case you can use a $0 price for the initial invoice and then you can either update the Subscription to a $x price on the day you want to charge (and force the creation of the new invoice on that day if the new prices has the same billing_period) or you can use a Subscription Schedule with two phases where the first phase is the $0 price and then the second phase is the $x price
What's the best way to make this automated via code?
I would recommend creating a Subscription Schedule. Then you just create it and don't have to handle sending an update in the future.
Information on the Subscription Schedule API can be found here: https://stripe.com/docs/billing/subscriptions/subscription-schedules
what is iterations?
In this code it will create the signature and assign the price 12 times?
Are you going to create 12 signatures for the client?
No, that means that your price will be charged 12 times
So if it is monthly then it will run for 12 months
After charging 12 times will he cancel the subscription?
No in this case the Subscription Schedule will be released and the Subscription will continue since you have end_behavior: release
Honestly the easier way to handle this is to just use a trial
Why are you against a trial?
I want to use the functions correctly. Trial period as much as it helps me, it was created for another purpose. I liked the schedule I will use
Okay... but really this is exactly what a trial was designed for so I disagree that it was created for another purpose!
The other option is to just collect card details and wait to create the subscription in the future. You can use a Subscription Schedule to do that as well.
It honestly might be simpler if you don't mind not having an active Subscription during the period of time between when you collect card details and then create the Subscription.
We talk about how to do that here: https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#start-subscription-future