Thanks, this works but the customer must hit a checkbox (I agree ...) before he confirms.
When submitting without the checkbox is hit, the button also disappears.
Then, I also have another button (link) for the customer to go to the previous page to choose another payment gateway. This one should also become invisible.
The first is in a div ID, the second in a span ID.