#ge_orgejoseph27
1 messages ยท Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- ge_orgejoseph27, 6 minutes ago, 24 messages
can you share the invoice id?
I recommend checking your request to see if it's successful in the future : https://dashboard.stripe.com/test/invoices/in_1OD0fJCQTcpcYTusWOkmCWB4. The request to void the Invoice failed cause the invoice is still in draft.
If the invoice is from a Subscription and is in draft mode, you can update the invoice to set auto_advance=false to stop Stripe from automatically finalizing the invoice and collecting payment : https://stripe.com/docs/api/invoices/update?lang=curl#update_invoice-auto_advance
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks Alex.
I would like to know why proration amount - Unused time on Promotional Plan after 16 Nov 2023 was generated since the payment was failure
If the invoice is from a Subscription and is in draft mode, you can update the invoice to set auto_advance=false to stop Stripe from automatically finalizing the invoice and collecting payment : https://stripe.com/docs/api/invoices/update?lang=curl#update_invoice-auto_advance
What does the difference when we void and auto_advance=false
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The first invoice for the subscription was voided. We don't check if the previous invoice was paid before applying proration. Since you're cancelling the Subscription after a period of time, we prorate the unused time left in that billing period
Thanks Alex,
Then how can we handle the case , since we haven't paid the subscription amount and again new invoice is get created.
check if your previous invoice is paid. If it's not, then set proration=false when you cancel the subscription schedule
So you are telling me that when the payment is failed and before cancelling the subscription schedule, I should update the proration=false
Hi! I'm taking over this thread.
Is your goal to avoid having any prorations when you cancel the Subscription?
Hi Soma
I will explain the way I am handling
create a subscription schdule
if payment is got failed the subscription is get cancelled and its invoice is made void
I was expecting that since the invoice is void nothing exist there. But i found another invoice which is going to finalise in 1 hr with proration amount.
- I am not clear why we are taking proration if the payment wasnt successful
- I my goal is that if payment got failed no invoices in the customer and customer should start the payment same from begining
So if last payment failed -> cancel subscription and don't create any new invoices?
yes Soma
Then call https://stripe.com/docs/api/subscriptions/cancel?lang=node and set prorate: false.
I am cancelling subscription schedule. Should these work
Then it's this, same idea: https://stripe.com/docs/api/subscription_schedules/cancel?lang=node
Make sure to set prorate: false
Can you tell me why the alex told check if your previous invoice is paid. If it's not, then set proration=false when you cancel the subscription schedule.
why should he saying previous invoice?
Not sure. I recommend doing some tests in test mode to see how this works. But I think setting prorate: false when cancelling the Subscription should be enough.
Thanks Soma
Happy to help ๐