#geordi-upcoming-invoice

1 messages ยท Page 1 of 1 (latest)

wild onyx
obsidian relic
#

Hey, will take a look now!

#

Here it is: req_cFKMlRnp5QQ0I3

wild onyx
#

Thanks, taking a look

#

Alright, so I can see what you're passing into us, would you mind pasting the response that you received so I can compare?

obsidian relic
#

I hit the discord paywall - the response is too long ๐Ÿ˜†

#

I'll trim it down a bit

wild onyx
#

Haha, I forgot that was there, you may be able to dump it in a txt file.

obsidian relic
#

Theres a gist!

wild onyx
#

Thanks for that, I think it's because the price you're moving to is volume-based, but am working on confirming that.

obsidian relic
#

ah Okay! We assumed it would be returned as we have the volume (quantity) so should be able to work out the tier, and return the unit_price for that tier - thanks for looking into this!

wild onyx
#

Thanks for your patience. I was able to confirm that unit_amount won't be populated as the volume price doesn't have a single set one. You could work backwards to calculate it by dividing amount by quantity (both fields are on the line item object).