#Ali Raza
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
You can use the discounts field for that: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-discounts
thanks @exotic crown one more thing i have some conditions i don't want to add every time discount checkout but for some specific users or some specific reasons can i pass null in discounts if our criteria is not matched
'discounts' => [[
'coupon' => null',
]],