#superfedz
1 messages · Page 1 of 1 (latest)
👋 happy to help
you want the Susbcription to start in the future?
you need to use Subscription Schedule then https://stripe.com/docs/billing/subscriptions/subscription-schedules#:~:text=Starting a subscription on a future date
hmmm that's interesting
let me take a look
could you please try to change the coding language?
Working on other languages, just not .net. Ill figure it out
var options = new SubscriptionScheduleCreateOptions
{
Customer = "cus_xxx",
StartDate = 1688120729,
EndBehavior = "release",
Phases = new List<SubscriptionSchedulePhaseOptions>
{
new SubscriptionSchedulePhaseOptions
{
Items = new List<SubscriptionSchedulePhaseItemOptions>
{
new SubscriptionSchedulePhaseItemOptions
{
Price = "price_xxx",
Quantity = 1,
},
},
Iterations = 12,
},
},
};
var service = new SubscriptionScheduleService();
service.Create(options);```
Nice one.
Where in this can i specify my PaymentBehaviour etc for the subscription?
before the Phases
Still struggling to understand where it goes. Can't see Payment Behaviour on the documentation either
oh sorry I missed it's a Subscription Schedule
you can't really change the payment behavior of a subscription schedule
Yeah, thats going to be an issue for me. How does the "from subscription" attribute work?
you need to start by creating a Subcription
and then you can use the from_subscription parameter to create a schedule from a subscription
then you would update the Subscription Schedule
perfect. i'll give that a go.
why do i need to do this?
depending on your needs
Makes sense.
if you don't
oh but wait
the reason why we chose to go with Subscription Schedules is becasue you wanted to start the Subscription in the future 🤦
you can't use this approach then
Yeah. haha.