#Eerik Kivistik

1 messages · Page 1 of 1 (latest)

swift havenBOT
strong crater
#

hi! I don't think I really understand the question. Do you have an example of what an Invoice would look like in one scenario versus the other?

agile oak
#

Sure, I will give an example.
Lets say the metered price is 0,35€ per unit.
So if the user makes 1000 requests, he gets billed for 1000*0,35€ = 350€.

#

I created a coupon that has a fixed discount, that is applied to the metered product for 0,06€

#

Does that mean, that now the invoice that is generated will be:
1000*(0,35-0,06)=290?

strong crater
#

I'd really suggest simply testing it in test mode to see! I'll do that now.

agile oak
#

I was afraid you were going to say that.

#

I'll get to generating the test case then 🙂

strong crater
#

looks like this when I did it

#

coupon for flat 2.00 off limited to the product being used, metered plan with 6.00 per usage, 5 usage reported.

agile oak
#

So it takes off the fixed amount from the sum, not the individual price

#

Can you give me a screenshot of the coupon configuration too

strong crater
agile oak
#

Alright thank you

#

In that case I will do it via percentage discount and get it approximately correct.

strong crater
#

we don't support per-item coupons anyway, which I think is what you're asking

#

the coupon applies to the invoice subtotal

agile oak
#

Okay, got it