#wsnookum_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/1366849722844708917
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Just to clarify, you're trying to cancel a subscription that's associated with a Subscription Schedule at a specific time?
correct?
you mean some additional time after the current phase ends?
for example I cancel during Phase 0, then the cancellation date time is still at Phase 10
if I cancel at Phase 1, the issue does not occur (the billing anchor has already been updated to the billing anchor date time).
How exactly are you updating phase 0 with cancel_at_period_end ?
to perform CancelAt, I'm using subscription update method. but I need to release the subscription schedule first.. This is why the billing anchor is not reflected at phase 1. However, if I don't release the subscription schedule, it won't allow subscription cancelation.
updateOptions = new SubscriptionUpdateOptions
{
CancelAt = DateTime.SpecifyKind((DateTime)cancelAt, DateTimeKind.Utc),
ProrationBehavior = "none",
BillingCycleAnchor = SubscriptionBillingCycleAnchor.Unchanged
};
You can directly update the Phase 0 with cancel_at though?
There's no CancelAt field for subscription schedule update... I think...
ah sorry, the end_date I mean