#aliraza-subscription-schedule
1 messages · Page 1 of 1 (latest)
That schedule has been released - check the released_subscription:
https://stripe.com/docs/api/subscription_schedules/object#subscription_schedule_object-released_subscription
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
the link is not extended
what do you mean?
@weak apex what is mean by released
it means the schedule did what you asked it to, then released the subscription it was managing. what were you expecting the schedule to do?
okay in my use case my client is hiring a freelancer for monthly basis but for future dates like i am client and i am hiring someone from 10th september.
so i am using schedule api and start date i am adding 10th september and i am storing schedule_id in my database and one of my cron job is check when schedule api have subscription value then retrieve the subscription but this time there is no subscription id in subscription parameter
In this case you create the schedule on sept 2 to start the subscription on sept 3: https://dashboard.stripe.com/test/logs/req_SmsW701C4d61B6
and then after it was started, it was released
the subscription is released, it is no longer managed by the schedule. that's why you can find it as released_subscription
i noticed when schedule status is active it's showing the id but now not
so i will put the condition if status is active then check subscription parameter and if status is released then released_subscription
exactly, yes 🙂
thanks