When adding a coupon via the admin order UI form, the coupon is not validated.
Before I add a custom call to
commerce_coupon_code_is_valid in a form_alter, I'm just wondering if perhaps it makes sense to merge the two functions and to call
That way the coupon will always be validated prior to redemption, rather than manually validating elsewhere.
Let me know if suits and can submit a patch.