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.
Why Use PayPal Commerce in WordPress?
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
- Method 2. Add PayPal Commerce in WordPress Using Easy Digital Downloads
- Method 3. Add PayPal Commerce in WordPress Using MemberPress
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.
With WPForms, you can create an online payment form and start accepting payments without using a full-fledged shopping cart 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.’
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.
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.
To learn more, see our complete guide on selling digital downloads in WordPress.
Method 3. Add PayPal Commerce in WordPress Using MemberPress
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.
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.
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.
Next, you will be asked to connect to your PayPal account to MemberPress.
Click on the ‘Connect Live’ button to continue.
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.
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.