#mqt_code
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/1369138756048781432
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
this is the create invoice request ID: req_5PRNrswLRXFq0x
hello! I'm guessing that when you say "it does not work", you mean there's no invoice items included for the created invoice. The default API version of the account that made is req_5PRNrswLRXFq0x is 2025-02-24.acacia. Your other accounts are probably on an older API version.
Note that starting from API version 2022-08-01 : https://docs.stripe.com/upgrades#2022-08-01
The pending_invoice_items_behavior parameter on create Invoice no longer supports the include_and_require value. When the parameter is omitted the default value of pending_invoice_items_behavior is now exclude.
So when you create an invoice, set pending_invoice_items_behavior="include" : https://docs.stripe.com/api/invoices/create#create_invoice-pending_invoice_items_behavior
Thank you