In this guide, learn how to setup PayPal for your WooCommerce store.
To use PayPal, you must have a PayPal Business account.
If you are more of a visual learner, follow along to my tutorial video (over 99,000 views) where I outline everything in the steps below.
If you have never added PayPal to your WooCommerce store you have to use the updated plugin that is PayPal’s all-in-one checkout solution using the PayPal Payments extension. Use this video below to setup PayPal Payments.
Let’s jump into it!
- Enable PayPal in WooCommerce
- Get NVP/SOAP Integration (Classic) credentials
- Enable Instant Payment Notifications (IPN)
- Add auto return url and identity token
- Add your brand’s logo
- How to setup PayPal sandbox account on WooCommerce?
Step 1: Enable PayPal in WooCommerce
The first step is to go to your WordPress dashboard, hover over WooCommerce, and go to Settings.
Next, click the Payments tab.
Then, enable the PayPal payment method and click Setup.
Next, add in your PayPal email address.
Quick Tip: You need to create a PayPal Business account to use PayPal on WooCommerce.
Step 2: Get NVP/SOAP Integration (Classic) credentials
Next, open up a new tab and go to PayPal.com. Sign in to PayPal.
On your PayPal dashboard, click the “Settings” icon in the top right hand corner and then “Website Payments” under the Products & Services sidebar menu. Then, click “Update” on API Access.
Next, scroll down to “NVP/SOAP Integration (Classic)” heading and click “Manage API credentials”.
Then, you will be to view your API Username, API Password, and Signature. Copy these values.
Finally, paste these values in the API credentials section. Save Changes.
Step 3: Enable Instant Payment Notifications (IPN)
If you want to enable Instant Payment Notifications, click “Enable IPN email notifications” on your PayPal settings in WooCommerce.
Next, go back to your PayPal settings > Website payments. Under API access click Update.
Then, click Choose IPN Settings and add your notification URL.
Finally, toggle to Receive IPN messages and Save.
Step 4: Add auto return url and identity token
Enabling the auto return url will allow a customer to return to your Order Received page after payment. This is important as one of your customers may want to shop around, read another blog post, get more engaged with your brand, etc.
Navigate back to PayPal settings > Website payments. Click update under Website preferences.
Next, add your auto return URL. Replace the domain below with your own.
Then, copy the identity token and paste into your PayPal settings in WooCommerce.
Step 5: Add your brand’s logo
Upload your brand’s logo to WordPress. PayPal recommends dimensions of 150 pixels x 50 pixels. You could also do 50 pixels x 50 pixels (this is what I do!).
Next, copy the image source url.
Then, in your PayPal settings in WooCommerce, paste the source url. Save changes.
Finally, do a live transaction on your site using PayPal Standard. Is your brand’s logo showing up?
How to setup PayPal sandbox account on WooCommerce?
On your WordPress dashboard, hover over WooCommerce and click Settings.
Next, click the Payments tab and click Manage next to PayPal.
Under Advanced Options, find “PayPal sandbox” and click “Enable PayPal sandbox”.
If you scroll to the bottom of your PayPal settings page, you will notice we need to insert our Sandbox API username, Sandbox API password, and Sandbox API signature.
To get these we need to go to your PayPal Developer account and Sign In. If you do not have a account, sign up for free in less than 5 seconds.
On your PayPal Developer Dashboard, under the Sandbox menu click Accounts.
Then, on the Sandbox Test Accounts page, you will see 2 accounts already created. 1 is a business account and he other is a personal account.
Hover over the Manage Accounts tab for the ‘Business’ account and click “View/edit account” to see your Account Details.
Toggle the tab from “Profile” to “API Credentials”. Then, copy the Username, Password, and Signature.
Finally, go back to your WooCommerce PayPal sandbox settings and paste the Username, Password, and Signature.
When finished, click Save changes at the bottom of the page.
Your sandbox account is all set up. The next step is to create a sandbox personal account to test transactions.
If you see something called “PayPal Standard” on the Payments tab in your WooCommerce settings use the video below.
If you have never added PayPal to your WooCommerce store you have to use the updated plugin that is PayPal’s all-in-one checkout solution using the PayPal Payments extension.
To create a business account with PayPal follow the video below:
If you are having trouble with setting up a sandbox account, follow along to the video tutorial below.