#ali_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/1265381712330883258
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
You set proration behavior to always_invoice not none: https://dashboard.stripe.com/test/logs/req_AM7Walh3EFnscC
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
So proration is generated
OK thanks and Is it possible to disable proration when cancelling a subscription if the cancellation happens after the end of the current billing period? I've set proration_behavior to none, but it doesn't seem to prevent proration in this case.
Any advice on how to handle this situation would be greatly appreciated!
I've set proration_behavior to none, but it doesn't seem to prevent proration in this case.
Can you share the request id?
yes : req_tmFCqozr6TC7Jg
I’ve tried setting the proration_behavior to none when updating a subscription, but proration is still being applied.
I came across this in the Stripe documentation: “If you set a custom cancellation date, you cannot issue a refund. A proration credit will be generated. To prevent generating a proration credit, the custom cancellation date must fall within the current billing period and proration_behavior must be set to none.”
Given this, is there any way to set a custom cancellation date for a subscription without generating a proration, even if the date falls outside of the current billing period?
Please share an example of this then. The one above you explicitly passed always_invoice not none.
Given this, is there any way to set a custom cancellation date for a subscription without generating a proration, even if the date falls outside of the current billing period?
If it's outside of the current billing period, then I don't believe so.
You'd have to adjust the credit balance of the customer after the fact: https://docs.stripe.com/billing/customer/balance#api
Yes sorry here is the request id : req_8sx4L4a8Aez4hj
Yeah and looks like the cancel at date is outside the current billing period
Yes, so if I want the cancellation date to be outside the current billing period, I should try to handle it with the credit balance ?
(I'm stepping in@daring valve) not sure I understand, can you explain your last question more?
Hello,
I'm encountering an issue with Stripe's proration behavior. I need to cancel a subscription and set a custom cancellation date, but I want to avoid prorated charges for the period outside the current billing cycle. I’ve tried setting proration_behavior to none, but I understand from the documentation that this only prevents prorations if the cancellation date is within the current billing period.
Given this, if I want to set a cancellation date outside the current billing period, is using the customer credit balance the appropriate solution? How should I handle this scenario effectively?
can you flesh out an example with example dates and amounts?
e.g. "Jan 1st $30 sub starts, canceled on Jan 3rd, expected balance $X, etc"
The subscription costs €60 and begins on July 23rd, with the next billing date on August 23rd.
I cancel the subscription effective July 25th, and the invoice for August 23rd is now €3.20.
I don't know if it's really clear
a little better but not super clear
like is this with no proration? with proration? and what is your desired ideal outcome that you want, that you aren't getting here
that will help me understand your problem better
In this scenario, the subscription costs €60 and begins on July 23rd, with the next billing date on August 23rd. I cancel the subscription effective July 25th, and the invoice for August 23rd is now €2.38. This happens with proration. My desired outcome is that the invoice remains at €60 without applying any prorated adjustments.
and to ask an obvious quesiton - you want the Subscription to end, right? and not have any Aug 23rd Invoice, correct? Simply canceled as of Jul 25th?
No, I actually want an invoice on August 23rd for €60, without any proration adjustments. The subscription should be canceled as of July 25th, but the August 23rd invoice should still be the full €60.
but isn't the Subscription canceled Jul 25th? why would it continue? (or am I missing something straightforward?)
I want to cancel the subscription on July 25th, but still have the invoice on August 23rd reflect the full €60, as if there was no proration or partial refund. The goal is to stop the service on July 25th but bill the full amount for the upcoming cycle on August 23rd.
ah wait, are you doing a pending cancelation and then reviving the Subscription?
No, I'm not doing a pending cancellation and then reviving the subscription. I want to set the cancellation date to July 25th but still have the invoice on August 23rd charge the full €60 without any prorations or partial refunds.
but that isn't possible which is why I'm so confused.
If you cancel a Subscription, it cancels, no more future Invoices. How do you expect a Aug 23rd Invoice if the entire Subscription is canceled
I understand your confusion. I'm trying to build a subscription cancellation system with a one-month notice period. For example, if a user submits a cancellation request on July 10th and their next billing date is August 1st, the cancellation should take effect on August 10th. However, I want the payment for the August 1st billing to still be the full €60 without any prorations.