#pablo_unexpected
1 messages ¡ Page 1 of 1 (latest)
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.
- pablo_error, 2 hours ago, 20 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1251233325314609154
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Do you have a request ID for the requests you mentioned above?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
sure
invoice items: req_Lqf7C4hVggjeFl
invoice:
req_HkWv7k2U62OGLL
invoice pay:
req_FxaJ1C6ptPXguH
Hmmm... I wonder if it happened too quickly. There was less than a second between the request to create the Invoice Item and the Invoice's creation request
Let me dig a bit and circle back
sure
If this is a thing it should be better to change my integration and provide the invoice in the invoice item creation
Ah, okay I figured it out (with a bit of help).
Quick disclaimer: The better newer flow is now
- Create an Invoice (empty, no lines)
- Create an InvoiceItem and pass invoice: 'in_123'
- Go to #2 until all lines are created
With that being said, if this is not feasible for you, then you need to pass the pending_invoice_items_behavior parameter set to include: https://docs.stripe.com/api/invoices/create#create_invoice-pending_invoice_items_behavior
Which makes sure the Invoice picks up any pending invoice Items
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
oh, thats new right?
i was using an older version and there was no need of that
thanks for your help
Correct! That was updated on 2022-08-01 : https://docs.stripe.com/upgrades#2022-08-01
thanks for your help, because im coming from a really old version i might find another issues like this one
Sure thing!