#keystoenchancia_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/1343555641511247916
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share the ID (req_xxx) of the API request? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_wv7Q264xSs9dS7
You can't use a timestamp when updating an existing subscription, only on creation: https://docs.stripe.com/api/subscriptions/update#update_subscription-billing_cycle_anchor
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
would the billing_cycle_anchor_config work here instead?
Or would the better option be to schedule a job for Aug 1 that updates all subscriptions to 'now' on Aug 1?
No, you can only pass that on create. Why not just specify the billing anchor via the Checkout Session: https://docs.stripe.com/payments/checkout/billing-cycle
checkout sessions are being created by a plugin, not myself
so the membership plug-in on our website hands over to stripe for payment processing so members (subscribers) can create a memebership(subscription) when they want
Then your other option is to use a schedule to configure it: https://docs.stripe.com/billing/subscriptions/subscription-schedules
i.e. create and attach the schedule with the desired phases post subscription creation
But it's kinda weird that your checkout page would state recurring billing on X date and then you just change it unbeknownst to the customer
so in this case, checkout completes, backdate the start date and then the subscription is anckored to august fist
it's on our website and in our constituion
You can't backdate an already started subscription
Cool, just saying that I think it's weird personally
Maybe your best option is to speak to the plugin author and ask them to support configuring the billing cycle anchor
Although that would prorate the initial amount which isn't what you want
yeah, i've raised it (they've only just added coupons)
trying to low/no cost everything so it doesn't have a lot goign for it
so is this about using phases as a schedule?
Yes you'd configure a new schedule frrom the existing subscription, and add a 2nd phase that starts on 1/8/26
gotcha, ok - this has been very helpfu, thanks
Let me know if you run into issues with that