You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a custom promotion that is according to validateCouponCode valid and therefore applied. However, the check method returns false. But since the the coupon is considered valid it's applied with a value of zero and shows up in the ui. That doesn't make sense to me.
Expected behavior
Coupons that fail the check method (return false) should return a CouponInvalidError so you can process the ui accordingly.
Environment (please complete the following information):
@vendure/core version: 3.0.8
Nodejs version
Database (mysql/postgres etc):
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a custom promotion that is according to
validateCouponCode
valid and therefore applied. However, thecheck
method returnsfalse
. But since the the coupon is considered valid it's applied with a value of zero and shows up in the ui. That doesn't make sense to me.Expected behavior
Coupons that fail the check method (return
false
) should return aCouponInvalidError
so you can process the ui accordingly.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: