#jclusso

1 messages · Page 1 of 1 (latest)

polar boltBOT
wraith basalt
#

Hi there!

#

What do you mean by "the total amount of a subscription"? Subscriptions create Invoices, and you can find the total amount of the invoice.

charred jolt
#

like if you want to display to your end user the subscription amount

#

displaying the last invoice isn't really a good way to go about that

wraith basalt
#

When do you want to display the amount? Before the subscripton is created or after?

charred jolt
#

right now i'm dealing with after, but curious to know what your answer for before is as well.

#

outside using stripe's custom portal

wraith basalt
#

And do you want the price they paid in the last invoice, the price they'll pay in the nex invoice, or just the price set on the subscription itself?

charred jolt
#

the price of the subscription itself

wraith basalt
charred jolt
#

so the answer is no without doing a bunch of math

#

you have to then look at the price, determine the type of pricing, figure out the tier if it's tier based or volume, etc

wraith basalt
#

Yes that's true

charred jolt
#

exposing the subscription item amount would be very valuable

wraith basalt
charred jolt
#

sure but if there are any prorations that's flawed

#

you'd have to sift out the line items