#rashid_code

1 messages ¡ Page 1 of 1 (latest)

tulip oasisBOT
#

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

topaz coral
#

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)

violet ermine
#

ohh than how I can add end date to recurring donation? (subscreption)

#

what is this cancel_at for?

topaz coral
#

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