### [Allowing Visitors to Choose a Payment Method](https://wpforms.com/docs/how-to-allow-users-to-choose-a-payment-method-on-your-form/)

**Published:** November 26, 2023
**Author:** David Ozokoye

**Excerpt:** Learn how to allow users to select the payment method they want to use.

**Content:**

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.

This tutorial will show you how to allow your users to choose a payment method in your forms.

- [Adding a Payment Method Selection Field to Your Form](#order-form)
- [Enabling Conditional Logic for the Credit Card Field](#add-logic)
- [Configuring Payment Settings for Your Form](#settings)
    - [PayPal Standard Settings](#paypal-standard)
    - [Stripe Settings](#stripe)
    - [Square Settings](#square)
    - [Authorize.Net Settings](#authorize)
- [Frequently Asked Questions](#faq)

![Choosing a payment method](https://wpforms.com/wp-content/uploads/2023/06/select-a-payment-method.gif "Choosing a Payment Method")**Requirements:** You’ll need a [Pro license level or higher](https://wpforms.com/pricing/) to use the PayPal Standard, Stripe Pro, and Square addons. To access the Authorize.Net addon, you’ll need an [Elite license](https://wpforms.com/pricing/).

---

Before getting started, make sure you’ve [installed and activated WPForms](https://wpforms.com/docs/install-wpforms-plugin/ "How to Install the WPForms Plugin") and [verified your license key](https://wpforms.com/docs/verify-wpforms-license/ "How to Verify Your WPForms License").

Then you can install the [PayPal Standard addon](https://wpforms.com/docs/install-use-paypal-addon-wpforms/ "How to Install and Use the PayPal Addon with WPForms"). You’ll also need to install either the [Stripe Pro addon](https://wpforms.com/docs/how-to-install-and-use-the-stripe-addon-with-wpforms/ "How to Install and Use the Stripe Addon with WPForms"), [Square addon](https://wpforms.com/docs/how-to-install-and-use-the-square-addon-with-wpforms/ "How to Install and Use the Square Addon with WPForms"), or [Authorize.Net addon](https://wpforms.com/docs/how-to-install-and-use-the-authorize-net-addon-with-wpforms/ "How to Install and Use the Authorize.Net Addon with WPForms") (depending on which credit card payment processor you’d like to use in your forms).

**Note:** Stripe applies a 3% transaction fee to each payment processed through their platform if your WPForms license is inactive.

## Adding a Payment Method Selection Field to Your Form

For this tutorial, we’ll use [conditional logic](https://wpforms.com/docs/how-to-use-conditional-logic-with-wpforms/) to show or hide certain fields and process payments through a certain provider, depending on users’ selections in your form.

**Note:** We recommend using the [PayPal Commerce addon](https://wpforms.com/docs/paypal-commerce-addon/) if you have a Business PayPal account. This addon allows you to accept both PayPal and credit card payments without using conditional logic. See our [FAQ](#paypal-commerce) for more details.

Once all your addons are installed and activated, you’ll need to either [create a new form](https://wpforms.com/docs/creating-first-form/ "How to Create Your First 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](https://wpforms.com/wp-content/uploads/2021/03/edit-multiple-choice-options.png)**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 [customizing the Multiple Choice field](https://wpforms.com/docs/how-to-customize-the-multiple-choice-field-in-wpforms/).

For our example, we’ll change the Multiple Choice field label to **Payment Method** and label the choices to **PayPal** and **Credit Card**.

![A Multiple Choice field customized to let users choose a payment method](https://wpforms.com/wp-content/uploads/2021/03/multiple-choice-payment-method-example.png)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](https://wpforms.com/wp-content/uploads/2021/03/require-payment-method-field.png)To see this in action, check out our [PayPal or Credit Card Payment Form Template](https://wpforms.com/templates/paypal-or-credit-card-payment-form-template/), which showcases how to offer multiple payment options in a single form.

## Enabling Conditional Logic for the Credit Card Field

Next, you’ll need to apply [conditional logic](https://wpforms.com/docs/how-to-use-conditional-logic-with-wpforms/ "How to Use Conditional Logic with WPForms") 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 choose to use the Square or Authorize.Net field instead.

**Note:** If you’re using [Stripe with WPForms Lite](https://wpforms.com/docs/using-stripe-with-wpforms-lite/), you won’t have access to conditional logic in your Stripe Credit Card field options.

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](https://wpforms.com/wp-content/uploads/2021/03/payment-method-field-options-smart-logic.png)From here, toggle on the **Enable Conditional Logic** option.

![Enabling conditional logic for a Stripe field](https://wpforms.com/wp-content/uploads/2021/03/stripe-enable-conditional-logic.png)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](https://wpforms.com/wp-content/uploads/2021/03/stripe-conditional-logic-rule-example.png)**Note:** Need help setting up your conditional logic rule? Our beginner’s tutorial on [using conditional logic in WPForms](https://wpforms.com/docs/how-to-use-conditional-logic-with-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 Standard Settings

In order to configure your PayPal Standard settings, navigate to **Payments » PayPal Standard** in the form builder. Then, toggle on the **Enable PayPal Standard payments** option in the right panel.

![Enabling PayPal Standard payments for a form](https://wpforms.com/wp-content/uploads/2022/08/enable-paypal-standard-payments-1.png)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.

![PayPal Standard payments settings](https://wpforms.com/wp-content/uploads/2022/08/paypal-standard-settings.png)**Note:** For the complete steps to set up PayPal Standard, check out our full[ PayPal Standard addon tutorial](https://wpforms.com/docs/install-use-paypal-addon-wpforms/).

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

![Enabling conditional logic for PayPal Standard payments](https://wpforms.com/wp-content/uploads/2021/03/paypal-enable-conditional-logic.png)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](https://wpforms.com/wp-content/uploads/2021/03/paypal-payment-method-conditional-logic-rule-example.png)### Stripe Settings

To configure your Stripe settings, first navigate to the **Payments** tab in the form builder and click on **Stripe**. Then, toggle the **Enable Stripe payments** option to the on position.

![Enabling Stripe payments](https://wpforms.com/wp-content/uploads/2022/08/enable-stripe-payments-1.png)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](https://wpforms.com/wp-content/uploads/2021/03/stripe-payment-settings.png)**Note:** For complete setup instructions for Stripe, be sure to check out our [Stripe Pro addon tutorial](https://wpforms.com/docs/how-to-install-and-use-the-stripe-addon-with-wpforms/).

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](https://wpforms.com/wp-content/uploads/2021/03/payment-method-credit-card-conditional-logic-rule-example.png)### 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](https://wpforms.com/wp-content/uploads/2022/08/enable-square-payments-1.png)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](https://wpforms.com/wp-content/uploads/2021/03/square-payment-settings.png)**Note:** For more details on how to set up Square payments for a form, see our [complete guide to the Square addon](https://wpforms.com/docs/how-to-install-and-use-the-square-addon-with-wpforms/).

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](https://wpforms.com/wp-content/uploads/2021/03/payment-method-credit-card-conditional-logic-rule-example-1.png)### 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](https://wpforms.com/wp-content/uploads/2022/08/enable-authorize-dot-net.png)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](https://wpforms.com/wp-content/uploads/2021/03/authorize-net-payment-settings.png)**Note:** For complete details on how to set up the Authorize.Net addon, be sure to check out our [Authorize.Net tutorial](https://wpforms.com/docs/how-to-install-and-use-the-authorize-net-addon-with-wpforms/).

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](https://wpforms.com/wp-content/uploads/2021/03/payment-method-credit-card-conditional-logic-rule-example-2.png)## Frequently Asked Questions

These are answers to some top questions about allowing users to choose a payment method.

#### Do I need to use conditional logic if I have the PayPal Commerce addon?

The PayPal Commerce addon supports credit card and PayPal checkout options by default. After configuring the addon, you won’t need to use conditional logic to enable this functionality on your form. However, you’ll need to have a PayPal Business account to configure the addon.

To confirm that both payment method is enabled, click the PayPal Commerce field to open its Field Options. Then look under the **Supported Payment Methods** section and ensure **PayPal Checkout** and **Credit Card** are enabled for your form.

![Supported Payment Methods](https://wpforms.com/wp-content/uploads/2023/06/supported-payment-method.png "Supported Payment Methods")To learn more about using PayPal Commerce, see our guide on [how to set up and use the PayPal Commerce addon](https://wpforms.com/docs/paypal-commerce-addon/).

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](https://wpforms.com/docs/how-to-properly-test-your-wordpress-forms-before-launching-checklist/ "How to Properly Test Your WordPress Forms Before Launching") for more details.

**Categories:** Payments, Payment Forms

---

