#essakrishnachaitanya-sub-scehdule

1 messages · Page 1 of 1 (latest)

obsidian viper
gray quail
#

how to set iterations to created subscription on webhook event customer.subscription.created

obsidian viper
#

Well, you can't. You'd instead just create a Subscription Schedule and instead of passing from_subscription you'd let the schedule create the subscription

gray quail
#

my requirement is we need to create a subscription in plan javascript after that using webhook we need to set iterations for that subscription..? is it make senses..?

obsidian viper
#

Yep, it does. But it's not possible

gray quail
#

can you please give any solution

obsidian viper
#

Why do you need to do it that way? What's the use case?

gray quail
#

in webflow site we need to integrate stripe with user subscription with specified duration

gray quail
#

from frontend side we are using redirectToCheckout bro

obsidian viper
#

Yeah, Checkout doesn't work with subscription schedules

gray quail
#

okay any solution..?

obsidian viper
gray quail
#

okay thank you bro..other than above solution any alternate solutions are there..?

obsidian viper
#

There's no others I'm afraid. You can't set both phases and from_subscription when creating a schedule. So fundamentally what you're trying to do just won't work

gray quail
#

okay thank you