#peter_unexpected
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/1310786713949442048
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there, let me take a look at your subscription.
OK, the pending invoice item was created because you specified prorate to true when cancel the subscription
https://docs.stripe.com/billing/subscriptions/cancel#canceling
To prevent a credit proration from generating, make sure the custom cancellation date is within the current billing period and proration_behavior is set to none.
Was this canceled by hand or automatically?
https://dashboard.stripe.com/logs/req_AQoqEsazBvQlwT - it's cancelled by your backend server
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
is there a way to tell? Also, is this a setting for auto-cancel on failed payments (if so, seems pretty bad that the system is letting me shoot myself in the foot liek this??)
It's your own logic, so we don't really have any insight into how your server determines to cancel the subscription
Ok, hrm, I think I’m seeing where such a request can be made. I’ll dig deeper—thx for the info.
Is there any way for me to double-check what happens on auto-cancel? I’m looking at this page:
in case you haven't seen this yet, you can use test clocks to mimic the passing of time : https://stripe.com/docs/billing/testing/test-clocks. So you can create a Subscription with a valid card first, then later remove the payment method and advance the time to see what happens in test mode