We have not tested the WooCommerce Payments addon with the latest 4.0.0 WooCommerce version since we have not been informed about any compatibility issues yet. Nevertheless, in case there is any, feel free to contact us by submitting a ticket here, for us to consider the issue personally.