#chibidragoon
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.
- chibidragoon, 1 hour ago, 39 messages
- chibidragoon, 6 hours ago, 15 messages
Hi, you would need to pass in a parameter to include any pending invoice items when creating the invoice, https://stripe.com/docs/api/invoices/create#create_invoice-pending_invoice_items_behavior.
This default to 'exclude' and that is the reason as to why these invoice items do not get pulled in automatically.
Can you try this?
I never had to do an action for that, did it change recently?
sure i will try
It worked like a charm. Thank you very much.
Hmm, this has been in place since March 1, 2022: https://stripe.com/docs/changelog#march-1,-2022 and have been the default behavior on API's greater than 2022-08-01.
No problem!
Glad to hear!
It could be possible that you're using different API versions
Depending on when the account was created, the default API version will vary. I think that is the delta here
Glad it is working now
ahhh that would make sense ๐
I will change my code considering this issue, thank you
Sure
is ther ea way to force the api version on an account? I would like to upgrade my old account if that is the case
Yes, we document this here: https://stripe.com/docs/upgrades#how-can-i-upgrade-my-api
but your default version is the one from 2020-08-27
yeah so i am missing 3 years worth of modifications haha
Yeah, be careful with updating your API versions. There are some breaking changes and I recommend that you read through this guidance, https://stripe.com/docs/upgrades#how-can-i-upgrade-my-api carefully