#Dharunkumar Natarajan

1 messages · Page 1 of 1 (latest)

hoary caveBOT
hasty acorn
#

subscription_id : sub_1NJhSkG3LDN6ekHVXLS1k08C
coupon_id: 0CEJW8cM

tacit gorge
#

The price object

#

It will have the full price on it

hasty acorn
#

what if the subscription is prorated for the first month, I need to get the prorated amount before the discount from the coupon

tacit gorge
#

Don't think there's a straightforward way to do that

#

Do you have an example of such a prorated invoice so I can poke around and take a look?

hasty acorn
#

just a min

#

invoice_id: in_1NJhSkG3LDN6ekHVf4XbgHWN

tacit gorge
#

That's a $0 invoice before the discount though

#

Do you have a different one?

#

Oh maybe I'm looking at it wrong one sec

#

Yeah was looking at it wrong

#

But in that scenario, there's not a way to see the prorated price before the discount

hasty acorn
#

hmm, I use the prorated amount to calculate prorated access to my product, not sure how I can work around this issue

tacit gorge
#

Let me ask a colleague to confirm

hoary caveBOT
tacit gorge
#

That allows you to pass data to see what an invoice would look like given the data passed in

#

So you could pass in everything but the discount to see what the pre-discount amount would be