#deathnfudge_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1394397902951944367
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Is this an annual Subscription or a monthly Subscription?
Annual.
Gotcha. How exactly are you setting an end date?
I'm not completely certain. We use Stripe Checkout for sign ups and it gets set when the customer signs up. I'm not sure if that's driven by the way we have Checkout set up or if it's something to do with the products.
Do you have an example Subscription I can take a look at?
It looks like it's set on the pricing tied to the product in Stripe.
Here's a current subscriber. sub_1RkroBG6SOg4bQjgRuCCwmj8
hmm there's no cancellation date on this
Yeah, they recur automatically. Maybe it's better to say we want to update the billing cycle to start on the day the customer updates the subscription and automatically renews 1 year later.
Ah gotcha. Sorry, cancellation is a whole different flow so got confused..
Maybe it's better to say we want to update the billing cycle to start on the day the customer updates the subscription and automatically renews 1 year later.
Gotcha. That's pretty simple. All you need to do is reset the billing cycle anchor to the "current time" when you update - https://docs.stripe.com/billing/subscriptions/billing-cycle#reset-the-billing-cycle-to-the-current-time
that would reset the billing clock and sort of "reset" the cycle
Excellent. Is there a way to do that when setting up a billing portal configuration or would we need to send that update from our side?
I don't believe that's something Customer Portal is able to support today - https://docs.stripe.com/api/customer_portal/configurations/update#update_portal_configuration-features-subscription_update
So you'd need to reset it by calling the API directly