allow_promotion_codes
line and set it to true
. Try launching a Checkout session: You'll see a new field in your payment form where customers can input a promo codes. discount
array with a coupon
hash and include there the coupon_id given by Exportator.