#Syafiq Idrus
1 messages · Page 1 of 1 (latest)
Both ways will work. Either updating the subscription directly and explicitly set the subscription item ID to update; or using subscription item API to update the item directly.
What would be the benefit of using one over the other?
On another note, if i update the price id that has a recurring interval from monthly to another price id of yearly, will stripe update the billing cycle automatically?
What would be the benefit of using one over the other?
Updating on subscription allows you to have full visibility of entire subscription such as status, other items and many more information. Updating on subscription item will only have visibility on the item alone.
On another note, if i update the price id that has a recurring interval from monthly to another price id of yearly, will stripe update the billing cycle automatically?
Yes!
For updating the subscription, you may refer to the guide here: https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#changing
Thanks for the help and clarification!