On the /cart/checkout page there is the selection of the shipping method and of the payment method.
How can I forbid certain combinations of shipping and payment?
The cleanest way would be if there was a way to hide payments, that are not applicable to the selected shipping method. But how? Can this be done without hacking the checkout page?
The not so clean way that I am willing to go is to give the customer a text message, like the one if you don't select any shipping method while it is obligatory - a red error message on top of the checkout page saying "you cant use this payment method if you want this shipping method". Still I did not find answers how to do this.
Can anyone help, please? I really want to get this off the table.

This .js file would (I thought) use the $(document).ready event to set the handlers. Sounds easy? And now the CATCH! on document.ready the radio-buttons don't exist yet in the DOM - they appear later, when the button "Calculate shipping costs" is pressed or the address is filled out.