If a coupon is being used, and the “place order” button is pressed, woocommerce will check the status of coupon first and returns any errors (e.g check if the coupon has any usage limit).
How can I make the following action be the FIRST script to run (before any other checks (such as the coupon check mentioned above) are done)?
woocommerce_registration_error_email_exists', __( 'An account is already registered with your email address. Please log in.', 'woocommerce' ), $email ) );