i’m searching for the hook where i can hook into the coupon validation during the checkout process.

Instead of validation by user’s email address i would like to validate the coupon code by an user’s meta field.

If the restricted coupon code matches the user meta field the discount is valid, otherwise coupon can’t added to cart.

Which hook can i use?

Read more here: WooCommerce hook into coupon validation by user meta


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: