---
title: "How to Add PayPal to WordPress Website"
description: "One of the best features of WordPress is its compatibility. The open source platform can easily integrate hundreds of third-party services through plugins, widgets, or even just simple embed codes...."
url: https://www.inmotionhosting.com/support/edu/wordpress/plugins/paypal/
date: 2020-10-28
modified: 2026-03-11
author: "InMotion Hosting Contributor"
categories: ["WordPress Plugins"]
type: post
lang: en
---

# How to Add PayPal to WordPress Website

![How to Add PayPal to WordPress Website](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/PayPalWordpress-1024x538.png)

One of the best features of WordPress is its compatibility. The open source platform can easily integrate hundreds of third-party services through plugins, widgets, or even just simple embed codes. This is especially true when you add PayPal to WordPress.

If you’re a PayPal user, you can quickly integrate the service into your WordPress site to allow your website visitors to complete transactions.

Continue reading to learn how to: 

- [Add PayPal Donate Button to WordPress](#Add-PayPal-Donate-Button)
  - [Select Donate Button](#Select-Donate-Button)
  - [Create Donate Button](#Create-Donate-Button)
  - [Add Donate Button to WordPress](#Add-Donate-Button-to-WordPress)
- [Add PayPal to WordPress with Gravity Forms](#WordPress-PayPal-Integration-with-Gravity-Forms)
- [Add PayPal to WordPress with Jetpack](#WordPress-PayPal-Integration-with-Jetpack)
- [Add PayPal to WordPress with WooCommerce](#WordPress-PayPal-Integration-with-WooCommerce)

## Add PayPal Donate Button to WordPress

PayPal donate buttons for a charitable WordPress site can be created and added directly through Paypal. To create a PayPal donate button, your Paypal account must be [confirmed as a 501c3 account](https://www.paypal.com/us/webapps/mpp/donations). Once your account is approved, you will then be able to add buttons classified for donations. Continue to learn how to add a PayPal donate button to WordPress.

### Select Donate Button

1. Log into your PayPal account.
2. Navigate to **Tools**.
3. In the dropdown menu, click **PayPal Buttons**.
4. Select the **Donate **button.

![select paypal donate button](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/paypal-login.png)

![select paypal donate button](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/paypal-donation-button-1-1024x604.png)

![select paypal donate button](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/paypal-donation-buttons-2-1024x587.png)

### Create the Donate Button

Paypal will then walk you through all of the options for the donation button. 

1. First, select the *country/region* your button applies to, the* language used*, the *button size*, or *upload a custom button image*.
2. Next, fill in the identification information of your charitable organization or the purpose for your donate button.
3. After, set the* currency*, *the amount your donors can give*, and *if you will allow recurring payments*.
4. Lastly, you’ll have the ability to configure the following additional options:*Get info from Donors* – allows you to ask for a mail address or add a note field.*Route donors back to your site* – lets you create custom thank you pages or route them back to your WordPress site.*Set account identified* – sets a custom identifier or uses the PayPal email address to identify the Paypal account in use for the donate button.*Add extra HTML button variables (advanced)* – allows you to add [additional variables](https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx-websitestandard-htmlvariables/) if needed. 
5. Once complete, click **Finish and Get Code**.

![create paypal donate button](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/paypal-donation-button-create-1.png)

![create paypal donate button](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/paypal-donation-button-create-2-1.png)

![create paypal donate button](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/paypal-donation-button-create-3-1.png)

![create paypal donate button](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/paypal-donation-button-create-4-1.png)

### Add Donate Button to WordPress

Once the button is created, you can add it to your WordPress site via the generated code.

1. Copy the button HTML code from PayPal.
2. [Login to your WordPress site.](https://www.inmotionhosting.com/support/edu/wordpress/logging-into-wordpress-dashboard/)
3. [Create or edit a page or post](https://www.inmotionhosting.com/support/edu/wordpress/create-edit-pages-posts-wordpress/).
4. On the page or post edit screen, click the **+sign** in the upper left corner and add a **Custom HTML block**. 
5. Paste the code within the Custom HTML block. 
6. Click **Publish** or **Update** to save your changes

![paypal button code](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/save-button-code-1-1.png)

## Add PayPal to WordPress with Gravity Forms

![How to Install the PayPal Add-On in Gravity Forms](https://i.ytimg.com/vi_webp/pGRdCCRxpx8/maxresdefault.webp)

*Don’t have time to read our full article? Watch our walk-through video.*

If you need to add a PayPal payment option to a form, you can use [Gravity forms](https://www.inmotionhosting.com/support/edu/wordpress/gravity-forms-install/) with the Gravity Forms PayPal addon. Gravity Forms, which is one of the most powerful and user-friendly plugins for adding dynamic forms to WordPress, allows you to easily accept payments through a form with their PayPal integration. 

To set up Gravity Forms with a PayPal Integration:

1. Gravity Forms must be [installed](https://www.inmotionhosting.com/support/edu/wordpress/gravity-forms-install/) to complete this tutorial.
2. [Login to WordPress Dashboard](https://www.inmotionhosting.com/support/edu/wordpress/logging-into-wordpress-dashboard/).
3. Click **Forms > Add-Ons **in the WordPress navigation menu.
4. Scroll down to *PayPal Add-On* and click **Install**.
5. When you see “*Successfully installed the plugin PayPal Add-On*…,” click the **Activate plugin** link.
6. On the **Plugins** page, under “*Gravity Forms PayPal Standard Add-On*“, click **Settings**.
7. Instant Payment Notification (IPN) must be enabled on your PayPal account to continue. The following steps are provided by Gravity forms:-Navigate to your PayPal [IPN Settings](https://www.paypal.com/us/cgi-bin/webscr?cmd=_profile-ipn-notify) page.–**If IPN is already enabled**, you will see your current IPN settings along with a button to turn off IPN. If that is the case, just check the confirmation box below and you are ready to go!–**If IPN is not enabled**, click **Choose IPN Settings** button, **enable IPN, **and **enter the following notification URL:** https://example.com/?page=gf_paypal_ipn *(They will list your actual domain, instead of “example.com”)*
8. Once the IPN check is complete, check the box to confirm your IPN setup in Paypal, then click** Update Settings**. 
9. You will see a *Settings have been updated *message. You can now access the PayPal option in your **Form > Form Settings **in your WordPress dashboard.

Once the PayPal Gravity Forms addon is configured, you can easily add the option to your form while editing it.

![paypal gravity forms](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/gravityformspaypal-1024x515.png)

![paypal gravity forms](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/gravityformspaypal2.png)

![paypal gravity forms](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/gravityformspaypal3.png)

![paypal gravity forms](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/gravityformspaypal4-1024x474.png)

![paypal gravity forms](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/gravityformspaypal5.png)

## Add PayPal to WordPress with Jetpack

If you want to integrate PayPal into your WordPress site for simple products and services, but have no need for an additional form, the [Jetpack](https://www.inmotionhosting.com/blog/what-is-jetpack-for-wordpress/) Simple Payments block may be a good option for you.

You can use the block with a Paypal account to allow your customers to complete transactions using a credit card, debit card, or their Paypal account. 

The Simple Payment block is only available with Jetpack Premium or Professional subscriptions. This tutorial uses Paypal as the payment processor, so it will be required for the directions below. If you don’t have a Paypal account, you can easily [create one for free](https://www.paypal.com/us/webapps/mpp/account-selection).

1. [Login to the WordPress Dashboard](https://www.inmotionhosting.com/support/edu/wordpress/logging-into-wordpress-dashboard/).
2. [Create or edit a page or post](https://www.inmotionhosting.com/support/edu/wordpress/create-edit-pages-posts-wordpress/).
3. On the page or post edit screen, click the **+sign** in the upper left corner and add the **Simple Payments **block. 
4. You’ll then need to configure several options:

| **Product Image** | Upload an image or choose an image from your media library of the item or service for purchase.  |
| --- | --- |
| **Item Name** | Name of the item or service for purchase. |
| **Description field** | Describe your product or service. |
| **Cost and selected currency (USD $)** | By default, the currency is set to U.S. dollars, but you can choose a different currency. Click on the field to type in a value or use the up and down arrows to adjust the price. |
| **Toggle to let people buy more than one item** | Enable to allow people to buy multiples the item or service. |
| **Email address** | Add the email associated with your Paypal account. |

![use jetpack for paypal](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/jetpacksimplepayments1.png)

![use jetpack for paypal](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/jetpacksimplepayments2.png)

![use jetpack for paypal](https://www.inmotionhosting.com/support/wp-content/uploads/2020/10/jetpacksimplepayments3.png)

## Add PayPal to WordPress with WooCommerce

The Jetpack Simple Payments block is great for simple transactions. However, it does not provide inventory or order tracking for your sales. If you need more tracking and sales functions, then [WooCommerce](https://www.inmotionhosting.com/support/edu/wordpress/woocommerce/) is the solution for you. 

This free plugin, with free simple PayPal integration, will allow you to create a complex eCommerce WordPress website with store, order, and customer tracking. 

1. [Login to the WordPress Dashboard](https://www.inmotionhosting.com/support/edu/wordpress/logging-into-wordpress-dashboard/).
2. [Install WooCommerce.](https://www.inmotionhosting.com/support/edu/wordpress/woocommerce/what-is-woocommerce/)
3. Navigate to **WooCommerce > Settings**.
4. On the WooCommerces settings page, click **Checkout > PayPal**. 
5. Configure the PayPal settings. Descriptions of the options are below.
6. Click **Save**.

*PayPal WooCommerce Settings:*

| **Enable/Disable** | Check the box to enable checkout via PayPal on your site. |
| --- | --- |
| **Title** | This determines what is displayed to your user within the checkout options. You may enter anything you want here, but keep in mind that it will show to all users on your site during the checkout process. By default, it will display PayPal. |
| **Description** | This is similar to the *Title* option. This is the description/instructions for PayPal that will be displayed within the your checkout page. |
| **PayPal Email** | In this field, enter the email address associated with your PayPal account. |
| **Receiver Email** | This is an optional field that is only needed if you want to send notifications to another email address that is not associated with the PayPal account. If you want to do this, enter that email address here. |
| **PayPal Identity Token** | This is an optional field that will allow you to identify pending and successful payments without the need for PayPal IPN. To obtain your identifier,* log into your PayPal account*, click on **Profile**, then click on** Website Payment Preferences**. Here, enable *Payment Data Transfer*. You will then see your *PayPal Identity Token* displayed. |
| **Invoice Prefix** | This is a unique identifier that will be displayed before any invoice numbers. For example, if you set it to InMotion-, an example invoice number would be InMotion-00000001. |
| **Payment Action** | This option determines if payments will be captured when submitted or require authorization first. Most users will want to set this to **Capture**. |

Become a master of [WordPress plugins](https://www.inmotionhosting.com/support/edu/wordpress/plugins/)! Protect, optimize, secure, and expand the functionality of your website easily with the help of WordPress plugins!
