After updating to WooCommerce 9 you will be greeted by yet another notificaiton that refuses to go away.

I tried to get rid of it, by pretending to setup the new WooPayments feature, by clicking through the setup and dicarding it at the last step.
Didn’t work.
I even tried to install it and connect to it, so it would go away.
Couln’t connect. Got an error when redirected to WooCommerce website (nice one🤦♂️).
So here is a code snippet that I put into my functions.php file.
add_action( 'admin_menu', 'remove_payments_from_wp_sidebar_menu', 9999 );
function remove_payments_from_wp_sidebar_menu() {
remove_menu_page( 'admin.php?page=wc-settings&tab=checkout' );
remove_menu_page( 'admin.php?page=wc-admin&path=/wc-pay-welcome-page' );
remove_menu_page( 'admin.php?page=wc-admin&task=payments' );
remove_menu_page( 'admin.php?page=wc-admin&task=woocommerce-payments' );
}
And now it’s gone.

Now it looks like should have been after updating.
