#wsnookum_api

1 messages ¡ Page 1 of 1 (latest)

silk fiberBOT
#

👋 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.

hollow swift
#

Hello
Just to clarify, you're trying to cancel a subscription that's associated with a Subscription Schedule at a specific time?

#

correct?

silent peak
#

yes correct.

#

at a future time after the current period

hollow swift
#

you mean some additional time after the current phase ends?

silent peak
#

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).

hollow swift
#

How exactly are you updating phase 0 with cancel_at_period_end ?

silent peak
#

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
};

hollow swift
#

You can directly update the Phase 0 with cancel_at though?

silent peak
#

There's no CancelAt field for subscription schedule update... I think...

hollow swift
#

ah sorry, the end_date I mean