WooCommerce hook into coupon validation by user meta

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

Leave a Reply

Your email address will not be published. Required fields are marked *