#rony455_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/1501305774142652466
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there, sorry, we can only provide support in English on this server. if you need support in your language, you can reach out to our main support channel at https://support.stripe.com/?contact=true
Ok, I’m experiencing an inconsistency between the data shown in the Stripe Billing Portal and the data returned by the API.
After updating a subscription by setting cancel_at_period_end = true, the Billing Portal immediately reflects that the subscription will be canceled at the end of the billing period. However, when retrieving the subscription via the API (Subscription.retrieve), the cancel_at_period_end field still returns false and never updates, even after waiting up to an hour.
thanks, looking into this now
Ok
what you're seeing is likely related to flexible billing mode subscriptions in the Billing Portal. these use cancel_at rather than cancel_at_period_end. we document this here: https://docs.stripe.com/billing/subscriptions/billing-mode/compare#cancellations-in-the-customer-portal