#mochihealth

1 messages · Page 1 of 1 (latest)

spring aspenBOT
verbal reef
#

I should also say when I actually test the upgrade it charges the correct amount which is not the one returned from the preview upcoming api

leaden loom
#

Can you share the request ID (req_xxx) of your upcoming invoice and its response?

verbal reef
#

how can i get those?

#

req_JSiSUePs0QaInL

#

these are the line items

#

another weird thing is that this product has 3 other prices and it returns the correct amount when I try to upgrade to those other prices of this product

#

just not this one

leaden loom
#

The line items included the proration information

verbal reef
#

yea but the seconde line item doesnt make sense

leaden loom
#

Can you share what you're trying to do with upcoming invoice API?

verbal reef
#

Im trying to show how much the customer would be charged if the subscription was upgraded now with proration

#

it shows that 118 dollars would be charged event though it should only be 39 dollars to upgrade. when I do the upcoming invoice for the 199 dollar 3 month subscription it shows correctly

#

why does this one have an extra line item

leaden loom
#

Not based on your own calculation of the line_items

verbal reef
#

as you see here it shows 118 dollars but when i actually do it it charges the correct amount of 39