#VukasinJockovic-coupons
1 messages · Page 1 of 1 (latest)
@flint escarp ufff...there's no request id cuz checkout session being created is failing on api call with Invalid array exception.
perhaps share the code snippet?
When I remove discounts property, it continues to checkout session correctly
The flow is:
Based on some condition, coupon code is generated with coupon creation api call (which works correctly and I can see it among coupons), and it's ID is taken and set inside discounts.coupon, AND allow_promotion_codes is unset from stripe params array.