WordPress PayPal Plugin

Last updated on by admin

WordPress PayPal plugin connects PayPal to your WordPress site and makes e-commerce available for you. With the WordPress PayPal plugin, you can create various types of buttons such as Add to Cart, Buy Now, Donation or Subscription with a simple shortcode to accept PayPal payments from your users. This plugin allows both one-time and recurring subscription payments so you can run your online store with great ease.


Get 50% OFF WordPress hosting through this special link here (offer expires on January 31)

WP PayPal plugin uses the PayPal Payments Standard API to create a checkout process for your customer that is fast, easy, and intuitive. With one simple shortcode, you can add a secure payment button to your website that lets you accept credit card, debit card, and PayPal payments from any mobile device, tablet, or PC.

WordPress PayPal Info

Plugin Name: WordPress PayPal
Version: 1.0.9
File Format: application/zip
Requires: WordPress 4.8
Rating: 4.3 based on 12 votes
See All Ratings/Submit Your Rating Here
Price: 0 USD

Requirements

  1. A self-hosted WordPress site running on a WordPress optimized environment like SiteGround.
  2. A PayPal account that supports selling online.

Features

  • Accept PayPal and PayPal Credit (US only) payments
  • No monthly fee
  • Accept credit cards and debit cards
  • Optimized mobile checkout experience
  • Accept one-time or recurring payments
  • Simplified PCI compliance
  • Accept donations
  • OneTouchTM enables checkout with a click of a button
  • Accept 25 currencies from over 200+ countries and markets

WordPress PayPal Plugin Installation

  • Login to your WordPress admin dashboard
  • Go to Plugins->Add New
  • Enter WP PayPal in the search box
  • Once you find the plugin hit the install button

Option 2

  • Download the zip version of the plugin
  • Go to Plugins->Add New and switch to the Upload tab
  • Select the zip file on your computer
  • Upload and install it

Option 3

  • Download the zip file and extract it
  • Connect to your website via FTP (you can use a software like Filezilla to transfer files to your server) and browse to the “/wp-content/plugins” folder
  • Select the folder containing the plugin files on your computer and upload it
  • Once all the files have been uploaded to your web server you can activate the plugin from the Plugins menu (WordPress admin dashboard)

WordPress PayPal Plugin Usage


In order to create a button you need insert a shortcode and specify the type in the button parameter.

Buy Now


[wp_paypal button="buynow" name="My product" amount="1.00"]

Add to Cart


[wp_paypal button="cart" name="My product" amount="1.00"]

Donation


[wp_paypal button="donate" name="My product"]

Subscription


[wp_paypal button="subscribe" name="My product" amount="1.00" recurrence="1" period="M" src="1"]

PayPal Button Demo

screenshot showing buttons created using WordPress PayPal plugin

PayPal Button Customizations

Button Image

“button_image” parameter can be added to the shortcode to show your own button image instead of the default PayPal button. For example:


[wp_paypal button="buynow" name="My product" amount="4.99" button_image="http://example.com/images/buy.png"]

Shipping

“shipping” parameter can be added to the shortcode to charge shipping for an item. For example:


[wp_paypal button="buynow" name="My product" amount="4.99" shipping="1.75"]

Shipping2

“shipping2” parameter can be added to the shortcode to charge shipping for each additional unit of an item. For example:


[wp_paypal button="buynow" name="My product" amount="4.99" shipping="1.75" shipping2="0.75"]

This means, If a user orders:

My Product (Quantity 1), total shipping would be $1.75.

when the order becomes:

My Product (Quantity 2), total shipping would be $1.75 + $0.75.

When it contains:

My Product (Quantity 3), total shipping would be $1.75 + $0.75 + $0.75.

And so on.

This feature is also very useful if you want to offer shipping at a discounted rate for each additional item.

Tax/GST

“tax” parameter can be added to the shortcode to charge GST for an item. For example:


[wp_paypal button="buynow" name="My product" amount="4.99" tax="2.15"]

Handling Fees

“handling” parameter can be added to the shortcode to charge handling fees for an item. For example:


[wp_paypal button="buynow" name="My product" amount="4.99" handling="2.50"]

This parameter is not quantity-specific. That means the same handling cost applies, regardless of the number of items on the order.

Success Page

“return” parameter can be added to the shortcode to redirect the user to a specific page on your site after the payment. For example:


[wp_paypal button="buynow" name="My product" amount="4.99" return="http://example.com/thank-you"]

Cancellation Page

“cancel_return” parameter can be added to the shortcode to redirect the user to a specific page on your site if they cancel checkout before completing the payment. For example:


[wp_paypal button="buynow" name="My product" amount="4.99" cancel_return="http://example.com/payment-canceled"]

Currency

To use a different currency code than the one you specified in the settings, you can add the “currency” parameter to the shortcode. For example:


[wp_paypal button="buynow" name="My product" amount="4.99" currency="SGD"]

Show/Hide Shipping Address

“no_shipping” parameter can be added to the shortcode to control whether or not to prompt buyers for a shipping address. Allowable values are,

  • 0 – Prompt for a shipping address but do not require one (This option is set by default)
  • 1 – Do not prompt for a shipping address
  • 2 – Prompt for a shipping address and require one

For example:


[wp_paypal button="buynow" name="My product" amount="4.99" no_shipping="1"]

Allow Buyers to Specify the Quantity

“undefined_quantity” parameter can be added to the shortcode to allow buyers to specify the quantity of the item on the Paypal payment page. This parameter is only used with a Buy Now button. For example:


[wp_paypal button="buynow" name="My product" amount="4.99" undefined_quantity="1"]

Open PayPal Button in a New Window/Tab

“target” parameter can be added to the shortcode to open a PayPal button in a new window or tab. For example:


[wp_paypal button="buynow" name="My product" amount="4.99" target="_blank"]

Manage PayPal Orders

When you receive a new order it will appear in the Orders menu. You can then do the following to finalize it:

1) Send a purchase confirmation email to the customer (include download links if applicable)

2) Ship the goods

screenshot showing how to manage PayPal orders in WordPress

Additional Resources

Buy Now Button

Subscription Button

Users who like this plugin also like WooCommerce Subscriptions to accept recurring payments in WordPress (+ sell subscriptions).
Get 50% OFF WordPress hosting through this special link here (offer expires on January 31)

113 thoughts on “WordPress PayPal Plugin”

  1. Is there a way to add a custom field? I am using the donation aspect of the plugin (it is wonderful) and people would like to specify who or what they are donating for – It’s different than the PayPal name. Is this possible? Thank you in advance!

  2. Will the plugin send POST parameters back to the ‘return’ url so I can programmatically match the PayPal payment/transaction ID with the order?
    Thanks!

    1. Fixed. I was debugged your plugin and found
      filter_var($atts[‘button_image’], FILTER_VALIDATE_URL)
      But you didn’t specify in documentation that url to the image should be absolute. I changed my url to full and now it works. Please update your docs.

      All the rest – is great. Good plugin, thanks.

    1. @Nick, This is fully controlled by PayPal. You will need to do a test transaction to see exactly which parameters are sent to the return URL.

      1. Once I properly configured my PayPal account I started getting query parameters on the return url. Including the transaction id.

        Here’s how I did it:
        # PayPal Business Account > Profile and settings > My selling tools > Website preferences
        # Auto Return: on
        # Return URL:
        # Payment Data Transfer: on

Leave a Reply

Your email address will not be published. Required fields are marked *