WordPress PayPal Plugin

Last updated on by admin

WP PayPal enables PayPal checkout on your WordPress site. You can easily create various types of buttons to accept PayPal payments from your users.

WordPress PayPal Info

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

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"]


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


[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” 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” 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 = $1.75

My Product (Quantity 2) – total shipping = $1.75 + $0.75

My Product (Quantity 3) – total shipping = $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” 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"]

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"]

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

If you like WP PayPal please leave it a rating. A huge thanks in advance!
Users who like this plugin also like WP eStore plugin to sell via PayPal in WordPress.
GET a Special 60% OFF WordPress Hosting Here

85 thoughts on “WordPress PayPal Plugin”

  1. I am saving money to donate to Programs like the one that saved my Nephew a few months ago. I want to thank you for this plugin that allows me to do this and thank you on the behalf of Little Trenton Jocob as well whos life they saved.

    1. @nona, It’s just an additional feature like the download button. You copy and paste the shortcode into a post/page to create a PayPal donate button.

  2. I recently uploaded WPpaypal and it failed to load the settings, and I cannot set the parameters of Paypal. WHat do I do?

    1. @Bruce, This issue doesn’t occur on my development site. So I’m not sure what is actually causing it. If you are interested I can login to your site and investigate it.

  3. I would like to put a PayPal “donate” button on our homepage, and I’ve installed/configured the plug-in. But like Nona (above), I can’t figure out where to put the “donate” shortcode to generate a button, and then tell it how to go to a specific module on the homepage. Is any other documentation available? The instructions on this page assume a level of knowledge that I don’t (yet) have. Thanks in advance!

      1. i meant when you click on “add to cart button” how do you access the cart to see products added to cart… Never mind, i just did a test and found out how it work…

        Does it use session to add and keep your products in paypal cart? Thanks.

        1. @Jamal, It’s controlled by PayPal. The plugin doesn’t do anything with the cart.

          Regarding paying with credit card, You do get this option on the payment page. PayPal just minimises it and shows the PayPal option by default.

  4. Another thing is: some paypal plugins allow people to pay with their card and not just with paypal, but this doesn’t have that function, does it?

  5. Great plugin! Is there a way to select an amount for someone to pay for, ie, if the price is £5, I would like to give them the option of paying for 1, 2, 3 or 4 of them. And can I set it to open the Paypal page in a new window, rather than the same one?

  6. Hello. I am trying to upload WP Paypal buttons to my WP site, but the directions do not match what I am seeing on the WP page. There is no Upload button for Plugins. There is nothing on the Admin screen that seems to correspond to these directions.

    Please advise.

    1. @Daniel, You can specify the currency code in the settings. You can also override it in a particular shortcode.

          1. I am using the “buynow” button. Current code is [wp_paypal button=”buynow” name=”Session” amount=”70.00″ undefined_quantity=”1″ ]

            The settings is set to a currency of GBP, but the currency remains as USD inPaypal. Therefore how I can override it in the shortcode?

  7. Hi, your plugin is very nice!
    I only don’t uderstand how is possible to use the function “Manage PayPal Orders” for check the people that pay your product 🙁 Can you give me more specifications?

    Thank you!

    1. @Robert, Are you referring to a function in the plugin code or the orders menu in the settings? You just use shorcode to create button. When someone pays for a product, PayPal sends notification to your site and it appears in the Orders menu.

  8. So how does this work, I create a page on the site, and paste the buy nnow button, add to cart, and cancel and return code on the page? So for product variations, I’d need to create each indevidual page?

    1. @Mellissa, That’s how it works. You don’t have to create a new page for each shortcode. You can have multiple shortcodes on the same page.

  9. Is this simply a button creation plugin or can you transact on your website page.

    I would like to have a subscription checkout on my own website without sending them to the Paypal website, does this plugin do that?

    1. @Mike, that’s not possible unfortunately. It uses the PayPal standard API which sends the user to the PayPal site for the payment.

  10. Hi

    I have bought a site with this plugin to run paypal www.premiumlogoshop.com however when you click on the buy it now button, I am taken to the wrong paypal account and displaying the wrong price. How would i edit this to correct the problem?


  11. The readme shows how you can give parameters to a shortcode. I have several (almost identical) pages that will have 4 buttons each, but the only difference (page to page) will be price on the buttons. Is there a way to populate the price on those buttons from POST parameters from a form?


    1. @Brianna, I have just released an update to support this feature. You can now add target="_blank" in the shortcode to open a PayPal button in a new tab.

    1. @Stephen, Do you have the debug option enabled in the plugin settings? It would provide more information as to whether or not the plugin received a payment notification from PayPal.

  12. sandbox test not working. error mg: “Please check your email address and password and try again”
    Do i need to set up anything to work/test in sandbox?
    PS: I am using an existing paypal account to test as a site user

    1. @ISS, Which shortcode are you using? There is a good chance it’s broken. You need to copy and paste it as plain text to make sure there is no formatted character in it. Please provide a link to the page in question so I can take a closer look.

      1. i am using the subscription code – something like this [wp_paypal button="subscribe" name="test product" amount="3.50" recurrence="3" period="M" src="1"]
        do you have an email i can send the page link too

          1. Thanks i work it out.
            2) My new question is that i dont see the order in the “order page” how long before the completed order appears in the wordpress order page?

            2) Also it appears the “return” and “cancel” attributes cannot be used with the button=”subscribe” – i get the following error “The link you have used to enter the PayPal system is invalid. Please review the link and try again.” when i used the return attribute

          2. @ISS, Do you have the debug option enabled? It will tell you whether or not the plugin received a payment notification from PayPal.

  13. Awaiting you response. In the mean time here is some error mgs in the debug log that stands out:
    – FAILURE :Received invalid response from PayPal
    – FAILURE :Error response: cURL error 35: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

    Pls help. the full log has been send to your contact email

    1. @ISS, I already replied to your email. As of June 30, PayPal has updated its services to require TLS 1.2 for all HTTPS connections. PayPal also requires HTTP/1.1 for all connections. Please make sure that your web server supports it so the plugin can connect to the PayPal server and verify the IPN.

      1. Oh something most have gone wrong …. i did not get your email.
        Anyway thanks for the latest info, i will speak to my server ppl about the tls issue

  14. If someone wants to cancel a subscription – what is the process? If someone cancels a renewal on paypal do thy just get deleted from the orders page?

  15. Please help the button_image and target doesnt work.
    My code looks like this:
    [wp_paypal button="donate" name="SPORTS Donate" target="_blank" button_image="http:example.com/image.jpg"]

    1. @Kurt, Please provide a link to the page in question so I can take a look. Did you copy and paste the shortcode as plain text in the visual editor? It might be broken if there are hidden formatted characters in it.

  16. Hi,

    I have installed the following add-ons: “Affiliates Manager Paid Membership Pro Integration” and “Affiliates Manager Simple Membership Integration”. Are they compatible with WP PayPal subscription button for subscriptions and recurring payments? Who of them will work exactly? Should I put extra code in the WP PayPal shortcode?

      1. Thank you for the information!
        Such integration would facilitate the work of webmasters. 🙂

        I’ll follow your blog with pleasure.
        Best Regards

  17. Hi, the button_image is not working for me as well. I have done all code in the text window and not visual. Deleted and recreated numerous times. Please help!

    Here is my shortcode for a payment plan to occur 3 times, every 2 weeks.
    [wp_paypal button=”subscribe” name=”Payment Plan” amount=”1.00″ recurrence=”2″ period=”W” src=”1″ srt=”3″ button_image=”http://loaskillscamp.com/wp-content/uploads/2017/07/enroll-button.jpg”]

  18. hi is there a way to add a Donate option the Subscribe screen so people can make a donation of their choice paying subscription at the same time?

    1. @claude, I don’t think that’s possible. If PayPay supports this feature I should be able to integrate it into the plugin.

  19. I already have Paypal working – somewhat – on my client’s site. However, once the payment is received, the purchaser is not receiving the email with the link to the pdf that is to be downloaded. I’ve tried logging into Sandbox but am not having any luck. Can I use this plugin just to test the links I already have for Paypal?

    1. @jan, This plugin doesn’t automatically send a confirmation email once the purchase is complete. Also you will need to use a shortcode to create a new button for it (it can’t be integrated with another one).

  20. The button image and target=”_blank” not working for my site, could u lend me a hand?
    Here’s my test page :

      1. Thank you ! It’s working now ! This is a very great plugin, saving me a lot of time integrating paypal checkout 😀

  21. Easy and understandable plugin to use. Thanks for this plugin.
    I would like to know how to cancel the subscription?
    My user is active on one plan. How he will cancel it?

    1. @viji, Unfortunately, there is no button in the plugin to cancel a subscription. However, the user should be able to cancel it from their PayPal account.

  22. I have successfully added an Add to Cart and donation button. The donation one works correctly. However, the add to cart gives me an error which says “Things don’t appear to be working at the moment. Please try again later.”

    Here is my code:

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

    1. @Holly, PayPal made some changes to their payment page recently. This is causing their Add to Cart button to not function properly. I believe they will fix this issue soon. In the meantime, you can use a buy now button instead.

  23. How do I center the buttons on the page instead of being left justified? I have tried using the center justification button and all that does is center the text, I want the button in the cneter of the page.

  24. how can i do sandbox testing, I have enable test mode in plugin setting and put sandox reciever email but when trying to login with buyer email its showing error.

      1. I am using buy now button how sandbox testing can be done, I have enabled in plugin option and also I want to add other second option in this like my product2 and 3 with different amount where I can put this.

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

  25. This is beautiful plugin!
    Everything is working fine. But when i used sandbox account then orders information is not showing in Orders section.
    Anyone tell me what happen for sandbox account?

          1. @Umair, Can you please provide a link to the page where you have the button? Chances are that PayPal is not being able to send the notification to your site. Login to developer.paypal.com and send a test IPN to your site to make sure that It’s working.

          2. @admin,
            I have set payment button in below page.

            And can you tell me what is the IPN and how to i set?

Leave a Reply

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