How to Collect Paypal Payments on Your WordPress Site?

PayPal happens to be the largest online payment gateway in the world. It allows you to send and receive payments from any corner of the world. By adding it to your WordPress site will help you increase functionality. In other words, it will help you to receive payments directly from your site via Paypal WordPress plugin.

If you are wondering how to add a PayPal pay now button to WordPress, then you have come to the right place. In this post, we will tell you the exact steps you need to know. The good thing is that setting up PayPal on your WordPress site is an easy and quick process. By getting it done, you can receive payments in a matter of minutes. It will also help you to turn your website into a successful e-commerce store. So without wasting time, let’s take a look into the details.

Steps To Active Paypal on Your WordPress Site

If you are curious to know how to PayPal integration in WordPress without a plugin, then you need to go through the steps below. We have explained every step in detail. We have also provided pictures to make it easy for you to understand.

Here you go with the details:

Collect Paypal Payments on WordPress Site

1. Install the PayPal Add-on

Create a new order form

Before you started following the steps, you need to download and install the WPForms plugin on your WordPress site.

Check step by step guide on creating a form with payment options.

Once that is done, you can proceed ahead with the step.

By activating the PayPal add-on, you will be able to add it to your form. Create a new form or edit an existing one.

For example, you can use the Billing form template.

The good thing about the Billing form template is that it has all the fields that you would want in the payment form.

2. Add PayPal payments to your WordPress form

Enable PayPal payments for a form

Once your form is ready, you need to connect it to your PayPal.

Go to Payments and select PayPal Standard. You need to check the box beside the option Enable PayPal Standard payments.

Here are the PayPal settings that you need to fill out:

PayPal Email Address: The email you provide for your PayPal account is where you will receive payments.

Mode: The options are production or test.

Payment Type: The options are donations or products and services.

Cancel URL: In case, users don’t complete their payment on PayPal, they will be redirected to this URL.

Shipping: When shipping a product to the user, you will need an address field during the checkout process on PayPal.

• There are two checkbox options available at the bottom of these settings. The first is “Don’t ask the buyer to include a note with payment.” If you don’t want users to add a note in the checkout process, you can it. The second checkbox is to enable conditional logic. This will be useful when you will allow your users to choose PayPal in your form. When ready, hit the Save button to store all your payment settings.

3. Set up conditional logic for your payments

Enable conditional logic in WPForms PayPal addon

WPForms PayPal add-on settings allow you to set up conditional logic which will help you create “smart forms”. This will automatically change the content in the form based on the user’s selections.

You can make use of conditional logic in many ways. For example:
• Making payment optional
• Allowing your users to select between Stripe and PayPal

Open the form builder and go to option Payments and then PayPal Standard to set up conditional logic for your PayPal payments. Also, enable the option labeled to Enable conditional logic.

Once you check the said box, you will get to see some more options. You will also get to see the rules about when to send a user to PayPal to complete the payment process.

Conditional logic settings in WPForms PayPal addon

The options are:

• Process
You need to determine what happens when all the conditions are fulfilled.

• Select Field
You need to select a field in your form where you want to apply this rule.

• Is
You need to choose the comparison you want. The options available are is, not empty, empty, contains, starts with, does not contain, greater than, ends with, and less than.

• Select Choice
You need to determine what value you want the field to contain for these conditions to work.

For example, let’s set up some conditional logic to run a PayPal payment when the user decides to sign up for your workshop.

At first, you need to add a Dropdown Items field. In this field, you will allow users to select whether they want to sign up for your workshop or not.

Field setup for PayPal conditional logic example

Once you are done setting up this field, go to the option Payments and then to PayPal Standard. Don’t forget to check the box bedside the option Enable conditional logic.

You need to process a payment, only if they decide to sign up. 

PayPal conditional logic example

When a user submits the form, they will be redirected to PayPal, if they decide to sign up for your workshop.

By following these simple steps, you can easily collect or make PayPal payments on your WordPress site. 


How to test PayPal payments in your forms?

To test out your forms, you should submit an entry and follow the steps that are followed by your users. The best thing to do would be to set up PayPal’s test mode. You need to do this before you add your form to a live page.

What happens when a user submits a PayPal payment form?

When you submit a form with PayPal integration, you will be immediately redirected to the PayPal website where you need to complete your payment. You will also receive the form’s notification on your email address. You will get the mail as soon as the form gets submitted.


PayPal is an amazing payment service. It helps you to send and receive payments from any part of the world you want. Not just that, but it can do a lot more. By following the steps mentioned above you know how to add a PayPal pay now button to WordPress. Hopefully, this will clear all your confusion.


Image source: WPForms

Aakash Patel
About Author:
A Blogger, Full stack developer & Hustler from Gujarat, India. I'm a computer engineer by education and blogger by passion. Here, I share proven strategies to improve blogging, increase traffic and brand awareness. Let's connect on:

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.