#KRS

1 messages · Page 1 of 1 (latest)

noble graniteBOT
lyric talon
#

Hi there!

#

Give me a few minutes to look into this.

bitter sparrow
#

Thanks.

lyric talon
#

How did you create the invoice and the line items?

bitter sparrow
#

line items are created by associating it with the customer and then invoice is created using stripe.Invoice.create(customer=customer, metadata=metadata, discounts=discounts)

lyric talon
bitter sparrow
#

I dont think I can do the first approach, but 2nd approach is doable, i could try that. Thanks.

#

only catch is if it is percent coupon, then it needs to be applied to each line item, where as if this cash coupon, then it can be applied at the invoice level. I think it should work, will give a try.