How to Allow Users to Choose a Payment Method in Your Form

Do you want to allow users to choose between multiple payment methods in your form? With WPForms, you can use conditional logic to let users select whether they’d like to make their payments with PayPal or with a credit card provider.

In this article, we’ll show you how to allow your users to choose a payment method in your forms.

Requirements: You’ll need a Pro license level or higher to use the PayPal, Stripe, and Square Addons. To access the Authorize.Net Addon, you’ll need an Elite license.


Before you get started, make sure you’ve already installed and activated WPForms and verified your license key.

Then you can install the PayPal Addon. You’ll also need to install either the Stripe Addon, the Square Addon, or the Authorize.Net addon (depending on which credit card payment processor you’d like to use in your forms).

Adding a Payment Method Selection Field to Your Form

For this tutorial, we’re going to use conditional logic to show or hide certain fields and process payments through a certain provider depending on users’ selections in your form.

Once all your addons are installed and activated, you’ll need to either create a new form or edit an existing one.

If you haven’t already, go ahead and add a Multiple Choice field to your form, as well as one of the following payment fields:

  • Stripe Credit Card
  • Square
  • Authorize.Net

You can click on a field in the left panel of the builder or drag and drop it into the preview area to add it to your form.

Next, you’ll need to add options to your Multiple Choice field for each available payment method in your form.

Editing the options for a Multiple Choice field

Note: For more details on how to add items to your Multiple Choice field, as well as other options available for this field type, see our tutorial on how to customize the Multiple Choice field.

For our example, we’re going to change the Multiple Choice field label to “Payment Method” and label the choices “PayPal” and “Credit Card.”

A Multiple Choice field customized to let users choose a payment method

We recommend you use similar labels, but you can customize this text to suit your form.

To be sure that users select a payment method before they submit your form, toggle on the Required setting in the field options for your Multiple Choice field.

Requiring a Multiple Choice payment method field

Enabling Conditional Logic for the Credit Card Field

Next, you’ll need to apply conditional logic to your form’s payment field to hide it unless a user selects it as their payment method.

In our example, we’re using the Stripe Credit Card field. However, the steps are essentially the same if you chose to use the Square field or Authorize.Net field instead.

To enable conditional logic for your credit card field, open its field options by clicking on it in the preview area. Then click on the Smart Logic tab.

Accessing the Smart Logic options for a Stripe Credit Card field

From here, toggle on the Enable Conditional Logic option.

Enabling conditional logic for a Stripe field

Then create a rule to show the credit card field if a user selects the corresponding option from your Multiple Choice field.

Our example rule reads, Show this field if Payment Method is Credit Card.

Creating a conditional logic rule to show a Stripe Credit Card field if a user selects "Credit Card" from a payment method Multiple Choice field

Note: Need help setting up your conditional logic rule? Our beginner’s tutorial on using conditional logic in WPForms has all the details.

Configuring Payment Settings for Your Form

Finally, you will need to configure the settings for the payment methods you offer in your form. Notably, you’ll need to use conditional logic to process users’ payments through their chosen method.

We’ve covered the options for all the available methods below.

PayPal Settings

In order to configure your PayPal settings, navigate to Payments » PayPal Standard in the form builder. Then, check the Enable PayPal Standard payments box in the right panel.

Enabling PayPal Standard payments for a form

There are a handful of options you need to configure next, including adding your PayPal email, putting your account in production mode, and determining whether users must provide a shipping address.

The WPForms PayPal Standard payments settings

Note: For the complete steps to set up the PayPal Addon, check out our full tutorial.

Then scroll down to the Enable Conditional Logic option and toggle it on to reveal more settings.

Enabling conditional logic for PayPal Standard payments

Set the conditional logic rule to read Process this charge if Payment Method is PayPal.

Creating a conditional logic rule to process PayPal Standard payments based on users' selections

Stripe Settings

To configure your Stripe settings, first navigate to the Payments tab in the form builder and click on Stripe. Then, select the Enable Stripe payments checkbox.

Enabling Stripe payments for a form

Add a payment description and map your form’s email field to the Stripe Payment Receipt option if you wish. Then scroll down and toggle on the Enable Conditional Logic setting.

Enabling conditional logic for Stripe payments in a form

Note: For complete setup instructions for Stripe, be sure to check out our Stripe Addon tutorial.

Configure the rule to read Process this charge if Payment Method is Credit Card.

Creating a conditional logic rule to process Stripe payments based on users' selections

Square Settings

To configure your Square settings, go to Payments » Square in the form builder and toggle on the Enable Square Payments option.

Enabling Square payments for a form

This will reveal several settings. Enter a payment description, map any fields you’d like to collect information from, then toggle on the Enable Conditional Logic option.

Enabling conditional logic for Square payments in a form

Note: For more details on how to set up Square payments for a form, see our complete guide to the Square Addon.

Using the dropdowns that appear, set your rule to read, Process this charge if Payment Method is Credit Card.

Creating a conditional logic rule to process Square payments based on users' selections in a form

Authorize.Net Settings

To configure your Authorize.Net settings, go to the Payments tab in the form builder and click Authorize.Net. From here, select the Enable Authorize.Net payments option.

Enabling Authorize.Net payments in a form

Next, add a payment description and map any relevant fields from your form to your Authorize.Net account. Then toggle on the Enable Conditional Logic option at the bottom of the settings.

Enabling conditional logic for Authorize.Net payments in a form

Note: For complete details on how to set up the Authorize.Net addon, please check out our tutorial.

Then, you can configure your conditional logic rule to read Process this charge if Payment Method is Credit Card.

Creating a conditional logic rule to process Authorize.Net payments based on users' selections in a form

That’s it! Now you can enable your users to choose between paying with PayPal or one of our supported credit card payment methods when filling out your forms.

Next, would you like to ensure that your form and all payments are working as expected before you publish it? Check out our tutorial on how to properly test your forms for more details.