#Ankoro

1 messages · Page 1 of 1 (latest)

sage heathBOT
light flame
#

Hi there!

#

So you want the subscription to automatically cancel after a specific number of billing cycles?

amber jasper
#

Yep that it

#

For the moment I create the sub and after whith webhook I update it and set the cancel_at to date + 3 months but its not equal to 3 cycles

#

I think its not a good way

light flame
#

Yes I think that's the best option. I don't see a way to set cancel_at directly when creating the Checkout Session.

amber jasper
#

Ok but Can i set a number of cycles to cancel_at, because a timestamp in PHP its weird

light flame
amber jasper
#

Thanks you for your help, I will look at this !

silent rose
#

👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!