#thomasst-expanding
1 messages · Page 1 of 1 (latest)
👋 happy to help
you just needed to provide the expand as an array of strings instead of a string
expand: ["phases.items.price"]
what language are you using?
Whoops, silly mistake. Thanks
yeah no worries
yeah so since you're using Python it's more expand= ["phases.items.price"]
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yep, it works, thank you.
I have a different question, we got some 500s here: https://dashboard.stripe.com/logs?object=in_0LZkYw4rOYBvHyzs6fbj46xG&created[gte]=1661248328&created[lte]=1661248328&success=false
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
e.g. req_24ew8Fgt9pzdTz
taking a look
Thanks. We had some more on different invoices, so it seems like there may have been a temporary outage?
Our code retried finalizing those invoices a few times and then eventually failed loudly. The invoices would eventually auto-finalize.
Other affected invoices are: in_0LZkYw4rOYBvHyzs6fbj46xG in_0LZkYv4rOYBvHyzsFNplp7qc in_0LZkh44rOYBvHyzsSDaA0NCT in_0LZefn4rOYBvHyzsWKZcFc7f in_0LZf5M4rOYBvHyzsAhjvCZqz
yes yesterday there was an incident
From 17:25 2022-08-22 to 02:22 UTC 2022-08-23, we saw increased error rates and response times with the API for transactions with automatic tax enabled. These are now resolved.
I see. If you have incidents like this, would you consider pausing auto-finalization of invoices until the incident is resolved?
to be honest, I'm not really sure if that's even possible
but would gladly pass in the feedback to the internal team
Yeah, I'm not exactly sure what the best solution here is, ideally you'd also withhold the webhooks. Imagine an outage that prevents you from adding invoice items/finalizing the invoice within the 1 hour window. In that scenario, we'd rather have you not finalize the invoice right away, receive the webhook later when everything is working, and then we'd have another hour.
I think this is really good feedback! would you mind submitting it to support via https://support.stripe.com/?contact=true or by sending an email to support@stripe.com
Find help and support for Stripe. Our support center 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.
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!