#thomasst-expanding

1 messages · Page 1 of 1 (latest)

dense charm
#

👋 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?

raw current
#

Whoops, silly mistake. Thanks

dense charm
#

yeah no worries

#

yeah so since you're using Python it's more expand= ["phases.items.price"]

raw current
#

Yep, it works, thank you.

#

e.g. req_24ew8Fgt9pzdTz

dense charm
#

taking a look

raw current
#

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

dense charm
#

yes yesterday there was an incident

raw current
#

I see. If you have incidents like this, would you consider pausing auto-finalization of invoices until the incident is resolved?

dense charm
#

to be honest, I'm not really sure if that's even possible

#

but would gladly pass in the feedback to the internal team

raw current
#

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.

dense charm
#

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

autumn garnet
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!