What is the correct way to cancel the payment


Hi there

My flow as below.

  1. User is prompted to make payment
  2. User key in something instead of clicking on the Pay button.
  3. User clicked on the Pay button to make payment
  4. After payment is successful, the Answer “Send a message” is skipped.

How can ensure that if (2) happened, the user is not able to make payment anymore?
Or if (3) happened , the Anwer “Send a message” will not be skipped?