How to Connect WordPress to PayPal Commerce


Do you want to connect WordPress to PayPal Commerce?

PayPal Commerce allows your customers to pay via credit cards without leaving your website. Even better, they also don’t need a PayPal account to make a payment.

In this article, we’ll show you how to easily connect WordPress to PayPal Commerce and start accepting credit cards on your website.

How to Connect WordPress to PayPal Commerce 134

Why Use PayPal Commerce in WordPress?

PayPal Commerce offers an easier checkout solution for businesses and online stores to use on their WordPress websites.

Unlike a standard PayPal payment form, your customer can pay using their PayPal account or by entering a credit card number. They don’t need to have a PayPal account to complete the payment.

You can choose which credit card networks you want to accept and show their logo at the checkout. PayPal Commerce supports Visa, Mastercard, American Express, Maestro, and Discover.

PayPal Commerce also lets you accept one-time payments as well as recurring payments for subscriptions and online donations.

It offers a cleaner payment experience, and users can make a payment without leaving your website.

That being said, let’s take a look at how to easily connect WordPress to PayPal Commerce.

We’ll be showing you multiple methods. You can choose one that best suits your business needs.

Method 1. Add PayPal Commerce to Any WordPress Website

This method is easier and recommended for all users who are not using an eCommerce platform on their website.

For this method, we’ll be using WPForms. It is the best WordPress form builder on the market and allows you to easily create forms for your website.

WPForms website
How to Connect WordPress to PayPal Commerce 135

With WPForms, you can create an online payment form and start accepting payments without using a full-fledged shopping cart plugin.

First, you need to install and activate the WPForms plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Note: You’ll need at least the ‘Pro’ plan to unlock the PayPal Commerce feature.

Upon activation, you need to visit the WPForms » Settings page to enter your plugin license key. You can find this information under your account on the WPForms website.

WPForms license key
How to Connect WordPress to PayPal Commerce 136

Next, you need to visit the WPForms » Addons page.

From here, locate the box for ‘PayPal Commerce Addon’ and just click the ‘Install Addon’ button.

Install PayPal Commerce addon
How to Connect WordPress to PayPal Commerce 137

WPForms will now install and activate the PayPal Commerce Addon.

After that, you need to visit the WPForms » Settings page and switch to the Payments tab.

Connect to PayPal commerce
How to Connect WordPress to PayPal Commerce 138

From here, choose the currency and click on the ‘Connect with PayPal Commerce’ button to continue.

This will bring up a popup where you will be asked to log in to your PayPal account. After that, you will be asked to allow PayPal to connect with your WPForms account.

PayPal connect
How to Connect WordPress to PayPal Commerce 139

Click on the ‘Agree and Connect’ button to continue.

Depending on your account, PayPal Commerce will now walk you through the setup process. Simply follow the onscreen instructions to finish the setup.

Once finished, you’ll be returned to the Payments tab on your website, and you’ll see a green checkmark under ‘Connection Status’ for PayPal Commerce, indicating that the connection was successful.

PayPal connected message
How to Connect WordPress to PayPal Commerce 140

Now that you’re ready to accept payments with PayPal Commerce, you need to create a payment form to add to your site.

Head over to the WPForms » Add New page and enter a name for your form. Then, you can choose a template or start with a blank form.

Form name and template
How to Connect WordPress to PayPal Commerce 141

This will launch the WPForms Form Builder interface.

It is a drag-and-drop form builder where you can simply click on the fields to edit them or add new fields from the left column.

WPForms form builder
How to Connect WordPress to PayPal Commerce 142

Next, you need to add the PayPal Commerce field from the left column to your form.

You can just drag the element from the left and drop it into the form preview on the right.

Add PayPal Commerce field
How to Connect WordPress to PayPal Commerce 143

This will bring up a popup, reminding you that you need to enable PayPal Commerce payments for this form.

Click on the ‘OK’ button to close the popup, and then switch to the ‘Payments’ section in the left-hand menu of the form builder.

Payment type
How to Connect WordPress to PayPal Commerce 144

Once inside the ‘Payments’ section, click ‘PayPal Commerce’ and then enable the payment type (One-time payments or Recurring Payments).

Depending on your choice, you’ll see further options on the screen.

Map form fields
How to Connect WordPress to PayPal Commerce 145

For instance, you’ll be asked to match the form fields to the payment fields. This means that your form’s ‘Name’ field will be mapped as the name field for PayPal Commerce.

Similarly, if you choose the Recurring Payments option, then you will be asked to create a plan and choose payment frequency and other options.

Create plans for recurring payments
How to Connect WordPress to PayPal Commerce 146

Once you are done setting up your form, don’t forget to click on the ‘Save’ button to store your settings.

You are now ready to add the form to your website.

Simply edit the post or page where you want to accept payments. In the block editor, add the ‘WPForms’ block.

WPForms block
How to Connect WordPress to PayPal Commerce 147

Choose the form you created earlier from the block drop-down menu, and WPForms will load a preview of the form for you.

You can now save your post or page and preview it in a new browser window to see your PayPal Commerce payment form in action.

PayPal commerce WPForms
How to Connect WordPress to PayPal Commerce 148

Method 2. Add PayPal Commerce in WordPress Using Easy Digital Downloads

For this method, we’ll be using Easy Digital Downloads. We recommend using this method if you want to sell digital goods like ebooks, software, music, graphics, photographs, and more.

Easy Digital Downloads is the best WordPress eCommerce plugin for selling digital downloads. It is super easy to use and supports many payment providers including PayPal Commerce.

Easy Digital Downloads website
How to Connect WordPress to PayPal Commerce 149

First, you need to install and activate the Easy Digital Downloads plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Next, you need to install and activate the PayPal Commerce Pro addon for Easy Digital Downloads. You’ll install it like any other plugin in WordPress.

Note: You’ll need at least the ‘Extended’ plan for Easy Digital Downloads to unlock this addon.

Once you have activated both plugins, login to your WordPress admin area and go to Downloads » Settings page, and switch to the Licenses tab.

Easy Digital Downloads Licenses
How to Connect WordPress to PayPal Commerce 150

You can find your license information under your account on the Easy Digital Downloads website.

Next, you need to set up PayPal Commerce as your payment gateway in Easy Digital Downloads.

To do this, go to the Downloads » Settings page and switch to the ‘Payments’ tab.

Setting up payments
How to Connect WordPress to PayPal Commerce 151

From here, you need to check ‘PayPal’ under the ‘Active Gateways’ section. Optionally, you can also choose it as your Default Gateway.

Don’t forget to click on the ‘Save Changes’ button to store your settings.

Next, you need to click on the ‘PayPal’ tab under ‘Payments.’

Connect with PayPal button
How to Connect WordPress to PayPal Commerce 152

This will launch a popup where you can sign in with your PayPal account and follow the onscreen instructions to complete the connection.

Once finished, you will be redirected back to your website where you will see a success message.

Connection successfull
How to Connect WordPress to PayPal Commerce 153

After that, you need to check the ‘Enabled Advanced Credit and Debit Card Payments’ option.

Don’t forget to click on the ‘Save Changes’ button to store your changes.

Now, when you sell any product with Easy Digital Downloads, your customers will see the PayPal Commerce payment option during the checkout.

PayPal Commerce checkout in Easy Digital Downloads
How to Connect WordPress to PayPal Commerce 154

To learn more, see our complete guide on selling digital downloads in WordPress.

Method 3. Add PayPal Commerce in WordPress Using MemberPress

This method will use MemberPress, and it is recommended for users who want to sell memberships, pay-per-view content, or online courses on their websites.

MemberPress is the best WordPress membership plugin on the market and allows you to easily sell subscriptions and online courses.

MemberPress
How to Connect WordPress to PayPal Commerce 155

First, you need to install and activate the MemberPress plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you need to visit the MemberPress » Settings page to enter your license key. You can find this information under your account on the MemberPress website.

MemberPress license key
How to Connect WordPress to PayPal Commerce 156

Next, you need to switch to the ‘Payments’ tab and click on the ‘(+) Add Payment Method’ button.

MemberPress supports Stripe and PayPal out of the box. You need to select ‘PayPal’ to continue.

Add PayPal standard
How to Connect WordPress to PayPal Commerce 157

Go ahead and add your PayPal email address and click on the ‘Update Options’ button to save your settings.

MemberPress will now show you that your PayPal method is outdated. You need to click on the ‘Upgrade to new PayPal Commerce Platform’ button to continue.

Upgrade to PayPal Commerce
How to Connect WordPress to PayPal Commerce 158

Next, you will be asked to connect to your PayPal account to MemberPress.

Click on the ‘Connect Live’ button to continue.

Connect MemberPress to PayPal Commerce
How to Connect WordPress to PayPal Commerce 159

This will bring up a popup where you will be asked to log in with your PayPal account and give permission to connect MemberPress with your PayPal account.

Follow the on-screen instructions to finish the setup. Upon completion, you will be redirected back to your website where you continue setting up your membership website.

Note: If this is your first time using MemberPress, you may want to see our guide on how to build a membership site for detailed setup instructions.

Once you have added subscription plans or online courses, your customers will be able to see PayPal Commerce as a payment option.

PayPal Commerce preview in MemberPress
How to Connect WordPress to PayPal Commerce 160

We hope this article helped you connect PayPal Commerce to your WordPress website. You may also want to see our guide on making money online with your WordPress website or look at these proven online business ideas that you can start with very little investment.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Connect WordPress to PayPal Commerce first appeared on WPBeginner.



Source