#gumptiontechnologies
1 messages · Page 1 of 1 (latest)
Anyone there?
👋 Thanks for reaching out
You can't use promotion code for invoices. Instead you can use Checkout Session in order to let your customer enter promotions codes:
https://stripe.com/docs/payments/checkout/discounts#promotion-codes
For invoice, you can use coupons:
https://stripe.com/docs/api/invoices/object#invoice_object-discount
and you pass your coupon as a discount:
discount: {
coupon: '{{COUPON_ID}}',
}
Limit redemption usage
The max_redemptions and redeem_by values apply to the coupon across every application. For example, you can restrict a coupon to the first 50 usages of it, or you can make a coupon expire by a certain date.
These two things should be helpful perhaps!!! Right?