Is there a hook in woocommerce for when a payment fails to display a custom error message?

wc_add_notice works during process_payment(). Notices will be collected and displayed for you after loading.