#manuel_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/1434915546809237565
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- manuel_api, 2 days ago, 23 messages
- manuel_api, 2 days ago, 28 messages
- manuel_api, 5 days ago, 28 messages
this is the list of pending invoices
Hi, can you share an example id please? You can delete the invoice items: https://docs.stripe.com/api/invoiceitems/delete
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ii_1SOVD3DtLlgoCDIrjMrGN68e
I don't want to delete them, I just want to know if it's possible to prevent them from being created and the reason why they appear.
That is not causing beacuse of voiding an invoice. Rather, you'd updating a subscription: https://dashboard.stripe.com/acct_18A5G2DtLlgoCDIr/logs/req_EyPbUnKFEe3NM5 with a new price
What are you really trying to achieve here?
What happens is that when payments fail, the invoices and the payment intent are canceled, and the subscription remains as it was before the failed payment attempt
But I see that these “types of invoices” appear, and I don't know where they come from or how I can prevent them from being created
What are you trying to achieve with https://dashboard.stripe.com/acct_18A5G2DtLlgoCDIr/logs/req_EyPbUnKFEe3NM5 as you're cancelling the subscription items?
that the subscription remains as it was before, before the payment failed
when doing that, should I set the proration_behavior parameter to ‘none’?
If you want the subscription as it's before, please do not update the subscription to delete the subscription items. Instead, can you start with a fresh subscription and without updating/ deleting the subscription items - you void the invoice. We document how invoices work here: https://docs.stripe.com/billing/subscriptions/overview
But if I do that, the start and end dates of the subscription may be affected, and we cannot allow that.
Hmm, how so?
If your subscription starts on November 1 and you make another payment on November 5 and it fails, then if I do what you suggest, the start of the subscription will no longer be November 1 but the moment it fails. Do you understand?
Can you start with a fresh subscription and show me where you're seeing this?
How can I prevent those pending invoices from appearing without having to create another subscription?
Is there a way to prevent that credit balance from remaining?
Hi there, taking over for @south folio as they had to step away
Catching up on the conversation now
ok ty
Can you explain what you were expecting from this request?
https://dashboard.stripe.com/acct_18A5G2DtLlgoCDIr/logs/req_EyPbUnKFEe3NM5
There you deleted three subscription items and added a new price, which resulted in an invoice
that the subscription remains as it was before, before the payment failed
I believe setting the proration_behavior to none would accomplish what you want (the default is create_prorations), as you mentioned earlier. But you should test it out first to make sure it's achieving the exact result. The other alternative is to void the invoice and create a new Subscription as suggested earlier (which I understand isn't exactly what you're looking for)