#zeke_best-practices
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/1352364024313937921
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello, how are you cancelling the subscription? Is this via the dashboard or API? Can you show me the code or what you do in the dashboard?
Here is the code
{showManageSubscription && (
<div className="flex flex-col gap-y-2 r">
<Button
onClick={onManageSubscription}
disabled={isLoading}
variant="outline"
className="w-full rounded-lg hover:bg-zinc-100 border border-zinc-200"
>
{isLoading ? (
<>
<MessageLoading />
</>
) : (
"Manage Subscription"
)}
</Button>
</div>
)}
Im using the API
Im getting the message in the dashboard when I cancel the subscription.
I just want to know why it says "Your subscription will be canceled on April 20, 2025." thats like a year away??
Wait im stupid
Please forgive my idiotness o my gosh
๐ญ
Ok next question. My subsctiotions control user token usage like if the purchase a subscription they get 50k tokens. If the user purchases a subscription for 50k tokens and then cancels it and then navigates back to my application should I allow them to have the 50k tokens sense there subscription cancels a month after they purcahsed it?
That is up to you but you definitely can do that. Are you trying to ask how to keep your subscription active for the month they already paid for in that scenario?
yeah im just wondering how that works. when a user cancels there subscription does there money get sent back immidialaty or does it get sent back on the 20th of April this situation.