payment and submit

i have form and submit button
i have pay button

i want to have 1 button

  1. chack if all input valid
  2. go to payment()
    3.submit form

every step start after secsses of the last step
(how to chack validation of all input at ones , how to test payment results, how to submit in function)
?

thanks

The Stripe Payment Processing example integrate the Stripe Payment processing system into a site. Three levels of user access are demonstrated: visitor, freemium (registered), and premium (paid).

You can also use Wix-Pay. Here are a couple of tutorials to help you:

how to chack validation of all input at ones?
how to test payment results?
how to submit in function?

@oren-bachar The example shows all of the steps (validation of the fields, payment results, submit, etc), and the tutorials describe the process needed for Wix Pay.

@yisrael-wix

how to test payment results - SOLVED

i didnt find the results for form:
how to chack validation of all input at ones?
how to submit in function?

@oren-bachar For validation, see the following:

For more on forms, see the examples

Basic Form

Create a basic form without writing a line of code. Use input elements, a dataset, and a button to capture and store user input in a database collection.

Collapsing Form

Collapse and expand sections of a form.

Multistage Form

Split a form into multiple stages using a slideshow.

Cascading Form

Automatically populate a form element with options based on a previous selection.