### [How to Make a WordPress Contact Form With PayPal Payments](https://wpforms.com/how-to-make-wordpress-contact-form-with-paypal-payments/)

**Published:** September 8, 2022
**Author:** Editorial Team

**Excerpt:** Would you like to add a PayPal integration to your WordPress forms? 

PayPal is a popular and flexible payment gateway. If you're selling products or collecting donations with your forms, PayPal is a great option to offer your users. 

This post explains the powerful capabilities of WPForms' PayPal Commerce addon and shows you how to add PayPal checkout to your forms. 


**Content:**

Are you looking to integrate a WordPress contact form with PayPal?

PayPal is the favorite online payment service for a huge majority of people, thanks to its recognizable brand and simple payment flow. Adding the PayPal payment gateway to your WordPress forms will allow visitors to easily make payments for orders, donations, or any other purpose.

The best part is that it’s really easy to set up PayPal payments with WPForms. In this post, we’ll walk you step-by-step through creating a WordPress PayPal integration.

Let’s jump right in!

[Create Your WordPress PayPal Form Now](https://wpforms.com/pricing/)

### Does PayPal Integrate With WordPress?

Yes. You can integrate [accept payments in WordPress](https://wpforms.com/wordpress-payment-processing/) through PayPal by:

- Creating a PayPal order form using WPForms.
- Installing an eCommerce store with the WooCommerce plugin and a PayPal payment gateway.

The downside of using an eCommerce plugin is that you’ll need set up the entire plugin before you can even start taking payments. It’s often complicated and time-consuming, and it can be overkill if all you need is a ‘buy now’ button.

For a faster, simpler PayPal integration, WPForms’ PayPal Commerce addon is ideal. You can let users pay you for purchase orders, send donations, or perform transactions for any other purpose, and it’s fast and easy.

## How to Make a Contact Form With PayPal in WordPress

### 1. Install and Activate WPForms

![The WPForms homepage](https://wpforms.com/wp-content/uploads/2023/05/WPForms-1200-Templates.png)

[WPForms](https://wpforms.com) is the best WordPress PayPal plugin. It’s easy to customize contact forms to add PayPal payments.

You’ll need a [WPForms Pro](https://wpforms.com/pricing/) or a higher plan to collect payments with PayPal.

![The WPForms pricing page](https://wpforms.com/wp-content/uploads/2023/02/WPForms-Pricing-Page-Feb-2023.png)

After purchasing WPForms Pro, log in to your WPForms dashboard and head to the **Downloads** tab to find your WPForms Pro download file.

![WPForms downloads](https://wpforms.com/wp-content/uploads/2021/03/wpforms-account-downloads.png)

Once the file is downloaded, install the plugin on your site. If you need assistance, see our doc guide on [installing WPForms](https://wpforms.com/docs/install-wpforms-plugin/) for detailed instructions.

### 2. Install WPForms PayPal Commerce Addon

Once WPForms Pro is active on your site, you’ll need to install the PayPal Commerce addon as well.

The addon allows you to add a PayPal checkout field to your forms so you can easily take credit card payments or let customers check out with a PayPal button. It’s ideal if you don’t need to offer a shopping cart.

To install the addon, navigate to WPForms in the WordPress dashboard, then click on **Addons**.

![WPForms addons](https://wpforms.com/wp-content/uploads/2022/08/WPForms-addons-2.jpg)

Scroll down to find the PayPal Commerce addon or search for it using the search bar. Then, click **Install Addon** under PayPal Commerce Addon.

**Note:** **PayPal Commerce** is not to be confused with **PayPal Standard**. While both addons allow you to add PayPal checkout to your forms, PayPal Commerce offers more powerful features. We’ll be using **PayPal Commerce** in this tutorial.

![PayPal commerce addon](https://wpforms.com/wp-content/uploads/2022/08/PayPal-commerce-addon.jpg)

Once the addon is installed, the next thing to do is connect your website with your PayPal account. From the WordPress dashboard, navigate to **WPForms » Settings**.

![wpforms settings](https://wpforms.com/wp-content/uploads/2022/08/wpforms-settings-2.jpg)

Once in, click on **Payments**.

![WPForms payment settings](https://wpforms.com/wp-content/uploads/2022/07/WPForms-payment-settings.jpg)

Scroll down to the section labeled **PayPal Commerce** to find the WPForms PayPal settings. Then click **Connect with PayPal Commerce.**

![PayPal commerce integration setup](https://wpforms.com/wp-content/uploads/2022/07/paypal-commerce-integration-setup.png)

This will redirect you to PayPal’s website, where you’ll be prompted to enter the PayPal email address associated with your Business account and select your country from the dropdown. Then press **Next**.

**Note:** You’ll need a **PayPal Business** account to connect with PayPal Commerce.

![Click next](https://wpforms.com/wp-content/uploads/2022/08/click-next-button-paypal-modal-wpforms.png)

If the PayPal integration was successful, the **Connection Status** will show that you’re connected to PayPal in **Production** mode.

![Connection Status](https://wpforms.com/wp-content/uploads/2022/08/paypal-production-connection-status.png)

If you’d like to test PayPal Commerce first, see our doc on [using PayPal Commerce in Sandbox mode](https://wpforms.com/docs/testing-payments-with-the-paypal-commerce-addon/).

Scroll down and click **Save Settings**.

![Save settings](https://wpforms.com/wp-content/uploads/2022/08/Save-settings.jpg)

Great! Now PayPal is connected to your WordPress site. Setting up PayPal in WPForms takes much less time than integrating an entire eCommerce platform!

The next step will be creating a new form in the WPForms form builder, where you’ll integrate a PayPal Commerce field.

### 3. Create a Simple Contact Form

It’s really easy to [create a simple contact form using WPForms](https://wpforms.com/how-to-create-a-simple-contact-form-in-wordpress/). You can use one of the [2,100+ form templates](https://wpforms.com/templates/) to get started.

There are tons of useful [business operations forms](https://wpforms.com/templates/category/business-operations/) and donation forms in our template library. It’s easy to add a PayPal field to any form you need to publish.

To make the next part easy to follow, we’re going to use a contact form.

To start, open your WordPress dashboard and go to **WPForms » Add New**.

![add new form](https://wpforms.com/wp-content/uploads/2021/11/add-new-form.png)

This will open up the template library.

Hover over **Simple Contact Form** and click **Use Template** to open it in the form builder.

![simple contact form template](https://wpforms.com/wp-content/uploads/2021/10/simple-contact-form-template-1.jpg)

As you can see below, you’ll have a contact form with basic functionality.

![A simple contact form on a page](https://wpforms.com/wp-content/uploads/2021/09/simple-contact-form.png)

You can customize this template by adding or removing any fields you’d like. By default, the simple contact form template doesn’t include any payment fields.

We’ll be adding payment fields and a payment button in the next step.

### 4. Set Up Payment Fields

You’ll need at least one payment field for the products or services you sell. There are 4 options to choose from, which are:

- **Single Item** – When you’re selling only one item.
- **Multiple Items** – When you have multiple items only but only one of which can be selected (like different subscription plans).
- **Checkbox Items** – When you have multiple items with the option to select one or more of these (like different merchandise).
- **Dropdown items** – When you want users to be able to select only one of the available items in a dropdown menu.

For example, if you sell items of clothing, you could add a Checkbox Items field that allows users to order multiple items of clothing from the same payment form.

Here’s how to do this:

First, add a **Checkbox Items** field to your form by clicking on it or dragging it into position on your form template.

![payment fields checkbox](https://wpforms.com/wp-content/uploads/2022/08/payment-fields-checkbox.jpg)

Click on the **Checkbox Items** field in your form to open up Field Options on the left-hand pane.

![payment fields settings](https://wpforms.com/wp-content/uploads/2022/08/payment-fields-settings.jpg)

You can **Field Options** to add the name and value of the items you’re selling.

You may want to change the label “Checkbox Items” to something that better reflects the items you’re selling. We’ll label our Checkbox “Sullie Merch” for this example.

![Checkbox label](https://wpforms.com/wp-content/uploads/2022/08/Checkbox-label-1.jpg)

You can also edit the default labels for each item on the checklist. We’ll replace “First Item” with “Sullie Shirt”, “Second Item” with “Sullie Socks”, and “Third Item” with “Sullie Hat”.

![Product labels for checkbox items field](https://wpforms.com/wp-content/uploads/2022/08/Item-labels-4.jpg "Product labels for checkbox items field")

Don’t forget to set a price for your items in the price field right next to the item label.

![item price](https://wpforms.com/wp-content/uploads/2022/08/item-price-1.jpg)

If you want the price to appear after each item label on the frontend, enable the **Show price after item labels** option.

![price after item labels](https://wpforms.com/wp-content/uploads/2022/08/price-after-item-labels-2.jpg)

Finally, you can add a description for your items if you’d like.

![Item description](https://wpforms.com/wp-content/uploads/2022/08/Item-description.jpg)

Here’s what our form looks like now:

![Preview form](https://wpforms.com/wp-content/uploads/2022/08/Preview-form-1.jpg)

Users can order any product from this form by checking the boxes next to each item.

There’s one more important step we have yet to go over: adding a PayPal checkout field to this form to enable transactions.

### 5. Add and Customize the PayPal Commerce Field

You’ll find the PayPal Commerce checkout field under the **Payments Fields** section on the left-hand pane of the form builder. Simply drag and drop it onto your form to add the field.

![WPForms payment fields](https://wpforms.com/wp-content/uploads/2022/08/WPForms-payment-fields.jpg)

When you include the PayPal Commerce field in your form, you’ll see a modal prompting you to enable PayPal Commerce payments. Press **OK**.

![enable paypal](https://wpforms.com/wp-content/uploads/2022/08/enable-paypal.jpg)

Before enabling payments, let’s first customize the PayPal Commerce field.

![PayPal Commerce cards](https://wpforms.com/wp-content/uploads/2022/08/paypal-commerce-cards.png)

The PayPal Commerce field is super flexible, so you can easily build a WordPress PayPal integration that works for the type of payments you want to take.

For example, PayPal Commerce supports both PayPal and credit card payments. If you choose PayPal payment processing, you can also set up a recurring payment.

To customize the **Field Options**, click anywhere on the PayPal Commerce field.

![field options PayPal Commerce](https://wpforms.com/wp-content/uploads/2022/08/field-options-paypal-commerce-1.png)

You can then select which payment options between PayPal checkout and credit card should be available for visitors (you can include either one or both).

If you choose to take card payments, select which credit and debit cards you want to support.

![PayPal Commerce card icons](https://wpforms.com/wp-content/uploads/2022/08/paypal-commerce-card-icons.gif)

If you’d like to change the appearance of the PayPal Commerce field, you can find more options in the **Advanced** tab under **Field Options**.

Here, you can change the field size, and adjust the size, shape, and color of the PayPal checkout button.

![advanced paypal settings](https://wpforms.com/wp-content/uploads/2022/08/advanced-paypal-settings.jpg)

When you’re done customizing the field, it’s time to enable PayPal Commerce and configure payment processing settings.

From the sidebar, click on **Payments » PayPal Commerce.**

![PayPal commerce integration](https://wpforms.com/wp-content/uploads/2022/07/paypal-commerce-integration.png)

You’ll have two options here: enable one-time payments or recurring payments.

#### One-time Payments

Selecting one-time payments will expand a menu where you can map some fields (name, email, and address) from your form to your PayPal billing.

![one time payments](https://wpforms.com/wp-content/uploads/2022/08/one-time-payments-2.jpg)

If you’d like instead like to include recurring payments, PayPal Commerce makes that very easy to configure.

#### Recurring Payments

Recurring payments are great for businesses offering subscription plans or payments in installments. There are no limits on how many plans you can create, but only one plan can be processed at a time.

![Recurring payments settings](https://wpforms.com/wp-content/uploads/2022/08/settings-recurring-pay.png)

The PayPal Commerce addon lets you select recurring times and cycles for your subscription plan. Use these settings to configure the frequency of payments that works for you and your users.

**Note:** Credit cards aren’t supported for recurring payments.

It’s possible to add multiple types of pricing options on the same form using conditional logic. Let’s take a look at how you can achieve that next.

### 6. Adding Conditional Logic to PayPal Commerce (Optional)

Conditional logic gives you a lot of freedom to change the behavior of the PayPal payment form.

One possible scenario is that checkout field only appears if a user meets certain criteria. Or you may want to add multiple pricing plans with different recurring periods and other payment details.

In these scenarios, WPForms’ conditional logic can be incredibly handy.

Let’s say that you want customers to be able to choose a recurring period between monthly and annual payments.

We’ll first add a Multiple Items payment field and label it “**Choose your plan**“, with two options.

![multiple items payapl](https://wpforms.com/wp-content/uploads/2022/08/multiple-items-payapl.png)

Now we’d want PayPal to process a charge depending on the customer’s selection between these two options.

For this, go back to **Payments » PayPal Commerce** and click on **Enable Conditional Logic** under one-time payments or recurring payments (depending on which scenario applies in your case).

![enable conditional logic paypal commerce](https://wpforms.com/wp-content/uploads/2022/08/enable-conditional-logic-paypal-commerce.png)

In our scenario, we’ll use conditional logic for recurring payments. After enabling conditional logic, you should see a new set of options for setting up your rules.

We’ll set up two separate rules for the payment methods we’re offering: one for charging payments monthly and the other for charging payments annually.

For monthly, we selected the Recurring Times setting to **Monthly**. Then, we defined the logic which says: **Process** this charge if the **Choose your plan** field is **Monthly**.

![rule 1 paypal commerce](https://wpforms.com/wp-content/uploads/2022/08/rule-1-paypal-commerce.png)

After that, we’ll create another plan for users who prefer an annual subscription. Click on the **Add New Plan** button to start.

![add new plan paypal](https://wpforms.com/wp-content/uploads/2022/08/add-new-plan-paypal.png)

Enter a plan name and press **OK**.

![new plan name ](https://wpforms.com/wp-content/uploads/2022/08/new-plan-name-ok.png)

This time, we’ll select **Yearly** in the Recurring Times dropdown. The conditional logic here is defined as: **Process** this charge if the **Choose your plan** field is **Annual**.

![annual plan logic](https://wpforms.com/wp-content/uploads/2022/08/annual-plan-logic.png)

Make sure to press **Save** after configuring these settings.

To summarize, we just added an option for customers to choose between monthly and annual subscription periods using conditional logic.

Now, when a user selects their preferred subscription period, they’ll be charged for the price you set for it and only on the defined recurring time.

Before moving on, we recommend taking a look at your form notifications to make sure they’re set up the way you want.

### 7. Publish Your Form

Now it’s time to start payments.

You [can add your form to a page](https://wpforms.com/how-to-add-wpforms-to-a-page-in-wordpress/) using a shortcode, but it’s sometimes easier to add it right from the form builder. At the top right corner of your screen, you’ll see the options to **Embed** or **Save** your form.

Since we’re trying to add our form to a page right away, go ahead and click **Embed**.

![form builder embed button](https://wpforms.com/wp-content/uploads/2022/07/form-builder-embed-button.png)

This will redirect to a modal with the option to embed the form in an existing page or create a new page.

We’ll assume you’d like to create a new page, but the process is similar for both steps. For this guide, we’ll click on **Create New Page**.

![Create new page button with a large red arrow](https://wpforms.com/wp-content/uploads/2022/03/Create-New-Page.png)

Give your new page a name and click **Let’s Go**!

![Naming a new page to embed your form on](https://wpforms.com/wp-content/uploads/2018/07/embed-tool-name-new-page.png)

Your new PayPal Commerce-enabled form will now be visible on the new page. Publish the page and check it out on the frontend.

![Live form with paypal commerce](https://wpforms.com/wp-content/uploads/2022/08/Live-form-1.jpg)

And that would be all for integrating a contact form with PayPal in WordPress. Now, you can start collecting payments using forms on your website!

### Next, Protect Against Downtime

Now you’ve got your business website up and running, you’ll want to ensure it stays that way. Check out this article on [how to protect against website downtime](https://wpforms.com/preventing-site-downtime/) for some tips.

And if you want to make sure that your payments are processed successfully, you’ll want to keep an eye on your site speed. That may mean avoiding plugins that can affect site performance. See this article on [how many WordPress plugins are too many](https://wpforms.com/how-many-wordpress-plugins-are-too-many/) for advice.

Don’t wait to start building your online order form. Get started with the most powerful [WordPress form plugin](https://wpforms.com/) today. Looking for a free order form? WPForms Pro comes with support for Stripe and PayPal payments.

[Create Your WordPress PayPal Form Now](https://wpforms.com/pricing/)

And don’t forget, if you like this article, please follow us on social media on [Facebook](https://www.facebook.com/wpforms) and [Twitter](http://twitter.com/easywpforms).

**Categories:** Integrations

**Tags:** paypal, wpforms pro

---

