Conditional submit?

Example: Stripe and PayPal or some other webhook variant on the same form.

The user fill in the form and then radio button select what type of payment variant he wants.

Then:

If user selected Stripe, then the stripe payment takes place when submit is pressed or if PayPal is selected that one etc…

Any trick to do this?

Mats, the following documentation explains how to setup a form like that: Setting Up Conditional Form Payments - Gravity Forms Documentation