#kev-invoice-coupons

1 messages · Page 1 of 1 (latest)

sly wolf
#

Hello! Can you share the Invoice ID from the live mode one that isn't behaving as you expect so I can take a look?

placid halo
#

Of course

#

in_1LTUB7HHvT0pddpSNJ0r2Eyw

#

I originally created an invoice item with the discount attached, then an invoice, and charged it - this worked great on test, but when I switched to production it was not working.

So then I switched it to creating the invoice item and then attaching the discount to the invoice, and charged it - this also worked great on test, but when I switched to production it was not working.

#

I am seeing weird things on the invoice page directly where it looks to have been applied but the payment says it went through as 199.00

#

You can see that the discount is simply not applied there :/

#

discountable=true is enabled on the invoice item as well

#

It works just fine in test though

sly wolf
#

I think I see the issue - the coupon you applied to that Invoice only applies to certain products (there are four I see listed), but the Invoice itself has a single line item for price price_1LTUB6HHvT0pddpSjrkM7MXg, which is associated with product prod_MBruBtWiixzsCn and is not one of the 4 products that this discount applies to

placid halo
#

Oh my god, you're a genius

#

double checking

sly wolf
#

👍 let me know if that's not the issue