In my shop, we require clients to submit delivery date field and enter some additional information in cart page before proceeding with checkout
Based on values in the field we can successfully prevent proceeding to next stages of classical checkout, by adding some basic JS to the page
However we would also like to make PayPal and GooglePay buttons unclickable if certain fields haven’t been filled in properly. Is this something that can be achieved with JavaScript? Looking at HTML for GooglePay containers it seems there are additional security things in place - like having classes and IDs be non-human readable and I suspect generated on the fly? Is there perhaps some other solution?
