#rashid_code
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/1358907775433965763
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there
It's not possible to set an end date in this way
Since you're using Checkout, the only option is to update the Subscription after it's been created so it cancels on a specific date (or at the end of the current period)
ohh than how I can add end date to recurring donation? (subscreption)
what is this cancel_at for?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I recommend reading through this: https://docs.stripe.com/billing/subscriptions/cancel?dashboard-or-api=api
You can update a Subscription and set cancel_at for a specific date in the future when you want that Subscription to be canceled. This parameter cannot be set when using Subscriptions with Checkout, though
You can only set this parameter if you're creating Subscriptions directly (if you're using the PaymentElement with Subscriptions, for example) or if you're updating an existing Subscription