#mochi-back-already

1 messages ยท Page 1 of 1 (latest)

velvet canyonBOT
brave lantern
#

I'm back

livid nova
#

@brave lantern hard to say without a lot more context, actionable details, example info, etc.

#

mochi-back-already

brave lantern
#

lmfao

#

so I credited the customer some amount of money in stripe but I dont see that reflected in the subscription upgrade preview

#

wait nvm

livid nova
#

lol

brave lantern
#

total does not include the credits?

#

that is strange

livid nova
#

what have you tried? :p

#

like if you write code you get an Invoice back and it'd have a lot of info

#

there are like 10/12 properties for amounts on Invoice

brave lantern
#

should I be using the total field for the subscription preview or the amount due field

livid nova
#

What do you call "the subscription preview" though? The Retrieve Upcoming Invoice API? If so, you get an Invoice object back and should look at all the properties in the API Reference: https://stripe.com/docs/api/invoices/object to figure out what to use. starting_balance, ending_balance, amount_due and many more

brave lantern
livid nova
#

this is just a picture though

#

sorry you literally said not to use us like chatgpt

#

and I explained I don't let people do that. Please read the docs and the json, look at the properties, find the amount you care about

brave lantern
#

yea sorry I just can't find the total field there

#

wait sorry

#

nvm ๐Ÿ˜ณ

#

I'm gonna go now lol

livid nova
#

๐Ÿ™‚