#nick-billing_cycle_anchor
1 messages · Page 1 of 1 (latest)
hmm I'm surprised there is a difference in results. without testing i would have expected both anchors to be shifted, as using trials is one technique for moving the renewal dates:
https://stripe.com/docs/billing/subscriptions/billing-cycle#api-trials
Subscriptions are billed on a cycle, learn how to set the billing date.
can you share some example subscriptions?
Here's an example of one that retained the proper billing_cycle_anchor (because a payment method was on file)
https://dashboard.stripe.com/test/subscriptions/sub_K6cJYfNOBajFTV
let me dig up one of the other case
Here's the other case https://dashboard.stripe.com/test/subscriptions/sub_K6EzaKkFdQ1TAf
that second example looks like the trial ended and has the expected prorated period for sept 8-oct 1 but then your integration made a request to cancel it: https://dashboard.stripe.com/test/logs/req_acpjrV2KQihd8F
are you perhaps reacting to renewals like this without payment methods and cancelling programmatically?
Yeah so if the trial ends and they don't have a credit card they have 14 days to add one or the subscription is canceled. So setting the cancel_at time changes the billing_cycle_anchor?
Is there any way to not change the anchor while still setting this? We're basically only using the cancel_at time so that we get a webhook when the subscription is canceled and can react to it by deleting things on our end.
Here is when the trial ended and the period was renewed as you described: https://dashboard.stripe.com/test/events/evt_1JXEDLI67GP2qpb4o9Z8PES1
i'd suggest using cancel_at_period_end then instead. it won't be 14 days, itll be the end of the billing cycle, but it can do what you're asking.
Is there anything I can do to reset the billing_cycle_anchor back to the first of the month after the cancel_at time has been set? Is my only option to add another trial that goes until the desired billing_cycle_anchor
Or, can I set the cancel_at using stripe prorations to have it preserve the billing_cycle_anchor?