fix(coupon): add expiration check and error handling for expired coupons
This commit is contained in:
@@ -46,6 +46,7 @@ func init() {
|
||||
CouponAlreadyUsed: "Coupon has already been used",
|
||||
CouponNotApplicable: "Coupon does not match the order or conditions",
|
||||
CouponInsufficientUsage: "Coupon has insufficient remaining uses",
|
||||
CouponExpired: "Coupon is expired",
|
||||
|
||||
// Subscribe
|
||||
SubscribeExpired: "Subscribe is expired",
|
||||
|
||||
Reference in New Issue
Block a user