diff --git a/src/pages/checkout/index.jsx b/src/pages/checkout/index.jsx index 873b252f1..1319c913a 100644 --- a/src/pages/checkout/index.jsx +++ b/src/pages/checkout/index.jsx @@ -161,7 +161,7 @@ function Checkout() { }; const handleCoupon = (coupons, actions) => { - const alreadyAppliedCoupon = selfAppliedCoupon?.slug === discountCode || selfAppliedCoupon?.slug === couponValue; + const alreadyAppliedCoupon = (selfAppliedCoupon?.slug && selfAppliedCoupon?.slug === discountCode) || (selfAppliedCoupon?.slug && selfAppliedCoupon?.slug === couponValue); if (alreadyAppliedCoupon) { toast({