#Valaris-subscription

1 messages · Page 1 of 1 (latest)

chrome vale
#

When you created the Payment Method did you use a Setup Intent or Payment Intent w/ setup_future_usage set?

grizzled quail
#

I did on the current subscription

#

but when creating a subscriptionSchedule I am not able to do that

#

Because this subscription is going to be released once the first subscription finishes

chrome vale
#

"Because this subscription is going to be released once the first subscription finishes" -> What do you mean by this?

grizzled quail
#

I mean releasing the scheduled sub for it to become an actual working subscription. Or I understood it bad

#

when the mensual subscription is almost over the annual one is still a scheduledSubscription. When the mensual sub is done then I need to release the annual subscription to become active

#

Am I right ?

chrome vale
#

No, that's not how sub schedules work. What you should be doing is having a subscription schedule with two phases - the first current phase is on the monthly price and once that phase is over it transitions to the next phase which has the annual price

grizzled quail
#

Oh I see ! I'll look into that thanks !

grizzled quail
#

But what I don't get is how to confirm the âyment intent with subscriptionSchedule

#

Is it possible to do so ?

chrome vale
#

When you have a Subscription Schedule you still have a subscription - moving to the next phase just updates the underlying the Subscription and you'll still have an Invoice + Payment Intent that you can confirm

grizzled quail
#

then here why is my paymentIntent null ?

#

but the status of my subscription is active

chrome vale
#

Ah! You were talking about Subscription Schedule creation from the start - I thought you were just talking about when you transition to the annual price

grizzled quail
#

Yes at first I made a normal subscription and I had a paymentIntent. But what is confusing me is how I pass from the mensual sub to annual. I need to schedule when I want to transition right ? Cause at first I want mensual for an undefined time. And then if I change it to annual then I want it to change without having to confirm the 3D secure again

chrome vale
grizzled quail
#

Oh ok !! That's exactly what I was looking for thanks for your help ! and just one last question. On the screenshot there are iterations. But what if I want to pass from mensual to annual which I don't want to end for an unlimited time (until I either cancel or change sub again) how should I do it ? just don't put iterations ?

chrome vale
#

You can still pass iterations: 1 for your annual price - it's the last phase in the Subscription Schedule, so once that iteration is over the Schedule will release and the Subscription will continue on with the annual price

grizzled quail
#

Oh great, thank you so much ! Now I'm good to go from all the infos you gave me. Thanks for your time, you're doing a great job 🙂

chrome vale
#

Happy to help!