#.rjcustodio
1 messages · Page 1 of 1 (latest)
I don't quite get your question, in what scenario will the start_date be the end of the subscription?
cus_OhU2krexE3k3u9 has active subscription of sub_1NzDjGDnngZHMkVLH5JwpykM and it will expire on December 26.
then we are creating subscription schedule for this customer, and we want the new subscription will start on the day of expiration of sub_1NzDjGDnngZHMkVLH5JwpykM.
we are planning to have subscription upgrade from monthly subscription to yearly subscription. and we wanted to start the new subscription after the monthly subs expires.
Did you set a cancel_at on your existing subscription? https://stripe.com/docs/api/subscriptions/object?lang=node#subscription_object-cancel_at
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes.
i updated the active/current subscription
after updating this. my next goal is to create subscription schedule.
Ok, then you can use this cancel_at as the start_date of the subscritpion schedule
what should be the value of end_behavior when creating new subscription schedule?
Do you know when the subscription should end?
yeahh, since I set the cancelled at the period end.
im not sure it if should be release?
It's up to you, whether you want it to be cancelled or continue
release means that subscription will just continue, so it'll continue generating new invoices to bill your customer accordingly.
ok got it
i have another question.. can be this new subscription schedule that will start on Dec 26
can we ask the customer pay for that right away via checkout?
or the only way is to charge the customer automatically?
and they will only be charged on December 26 or when the new subscription schedule starts?
Yes, you can collect a payment method from your customer first (i.e., using setup mode checkout), and use the collected payment method as the default_payment_method for the subscription schedule.