#ae_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/1215353377551032320
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Is the end date the only thing that you want to be scheduled? We do have Subscription Schedules for use cases like upgrading or downgrading for a certain time. If you only need to schedule the cancellation, you can use the cancel_at parameter on the subscription which is much simpler than a full on schedule
You can achieve this either way, I just want to make sure I understand your end goal
yes, only to set a hard end date sometime in the future. I'm using Laravel Cashier, which uses cancel_at as a test for "canceled" or "in a grace period" which makes the sort of thing I'm doing a little sketchy
if cancel_at is set, Cashier sees the user as being in a grace period.........which I guess is sort of true, but also not
Interesting, not familiar with cashier so I am not sure what the best way to handle that is. Does being in a grace period affect the behavior of your subscription? Or is it a UI thing that you feel is misleading? Not sure how thoroughly you have looked, but Laravel may have some way of setting cancel_at without that that their support/forums may be able to speak to.
If you do end up wanting to use a schedule, you would want to create a schedule from the existing subscription and then set a time to cancel on that schedule
https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#existing-subscription
https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#cancel-schedule-and-subscription
There is also cancel_at_period_end which is more limited to just cancelling after the current period, but if it suits your use case that may be the way to go