Payment Button for PayPal (also known as WP PayPal) plugin connects PayPal to your WordPress site and makes e-commerce available for you.
Payment Button for PayPal plugin uses the PayPal 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.
Note: This is NOT an official PayPal product.
Features
- Accept PayPal and PayPal Credit payments
- No monthly fee
- Accept credit cards and debit cards
- Optimized mobile checkout experience
- Accept one-time payments
- Simplified PCI compliance
- Accept donations
- OneTouchTM enables checkout with a click of a button
- Accept 25 currencies from over 200+ countries and markets
- Accept PayPal Pay Later (Pay in 4) payments
- Accept payments with PayPal smart payment buttons
- Accept PayPal Checkout payments (previously known as Express Checkout)
How to Install Payment Button for PayPal in WordPress
- Login to your WordPress admin dashboard
- Go to Plugins->Add New Plugin
- Enter Payment Button for PayPal naa986 in the search box
- Once you find the plugin hit the install button
The plugin can also be downloaded from here: https://wordpress.org/plugins/wp-paypal/. For a manual installation go to Plugins > Add New Plugin > Upload Plugin and select the zip file that you downloaded.
How to Use the Plugin
Once you have installed the plugin, you need to configure some settings by navigating to WP PayPal -> Settings.
Product
To create a buy button you need to create a product first (WP PayPal > Products). You can then add a shortcode block from your WordPress post/page editor and insert the following shortcode into it.
[wp_paypal_product id="1"]
Replace 1 with the actual product ID.
Publish/update the page and you will see the button on the front end.

Clicking this button will take you to the checkout page where payment options will appear.
Checkout
In order for the payment options to appear, your checkout page needs to contain the following shortcode.
[wp_paypal_checkout]
This will show the eligible payment methods the at checkout.

Manage PayPal Orders
When you receive a new order it will appear in the Orders menu.

Add-ons
WP PayPal/Payment Button for PayPal plugin comes with various add-ons that you can use to enhance its functionality on your website.
Custom Input
Custom Input add-on shows a text box with your buy now button. This lets you collect custom data from buyers.
Variable Price
Variable Price add-on shows a price input field with your buy now button. This lets buyers set the amount they wish to pay.
Contact Form 7 Integration
Contact Form 7 Integration add-on can show a pre-configured buy now button after a form submission. This allows buyers to make payments after a Contact Form 7 type form is submitted.
Mailchimp Integration
Mailchimp Integration add-on can automatically add the buyer’s email address to your chosen Mailchimp audience/list after a WP PayPal payment.
Order Export
Order Export add-on can be used to export order data to a CSV file.
Get All WP PayPal Add-ons
* Custom Input
* Variable Price
* Mailchimp Integration
* Contact Form 7 Integration
* Order Export
License: Unlimited Websites
Note:
* Do not purchase before setting up the core plugin first. The add-on is not at fault if the core plugin does not work on your website.
* Do not purchase if you are not sure about a feature, contact us instead.
* Do not purchase to ask for more features or make the product work in a certain way.
I am interested in using this plugin but as I read the docs it seem that I have to have my site on a ‘WordPress hosted site’
I run WordPress on a AWS instance (Not affiliated with official WordPress Hosted services) does this mean your plugin won’t work? Are there some kind of internal hooks in use?
Thanks
@Steve, Can you install plugins on your site?
Yes, I have root access.
@Steve, I mean can you install a plugin from the “Plugins” menu of your WordPress admin dashboard?
Yes, I just did it. So I guess I’ll get to testing.
Thank you.
When using the cancel_return parameter PayPal displays the email address at the log in page. Can this be changed?
@Werner, This is fully controlled by PayPal. You can contact them to see if they have an option to customize it.
Thank you. After using the locale parameter it shows back to seller instead of the email address.
Hello, is there a way to hook to a action, when the payment is complete? i give the return URL in the shortcode and after the payment succeed i need to save it in the database. Thanks!
@Tolga, This one is triggered after a new order is processed in the plugin
do_action('wp_paypal_ipn_processed', $ipn_response);I am having two issues, one the Paypal button is huge – how do I resize this with the coding provided in this instruction? Secondly, when I click the button it states “We can’t complete this donation. The receiver doesn’t have a valid PayPal account.” did I miss something in the setup steps?
@Savanah, Are you using a custom button image in the shortcode? The error is coming from PayPal. Can you please check the PayPal email address that you entered in the settings?
I ‘m having the too large button image problem too. The button image is stetched to full block wide.
Using the button_image parameter doesn’t work at all. Still the default ‘Buy now’ button is displayed.
@Werner, Are you using a shortcode block? Please provide a link to the page in question so I can take a look.
Hi,
is there a way to add an button to see the shopping-cart on paypal?
I have the same question. If the customer exits the shopping cart, how do I create a “shopping cart” button on the site to get them back to the shopping cart without adding anything.
Same question, thanks.
I have the same question too…
I have created an order page and added a button to it. How do I test it? Does it act like the contact pages where you create a form and then add the form to a page?
I would like a little more help than this documentation.
Peg
@Peg, You just insert the shortcode into a shortcode block and the plugin will create a payment button from it.
Hi!
Why does it requires creating an account in Buy Now button.
Is there a way to allow payments as guest?
@Ramiro, The payment page is fully controlled by PayPal. But It should also show an option to pay with a card.
Attempting to use your plugin also, it’s great and seems to have all the functionality. However, I am with the couple people above, the button is huge, distorted, and goes across my webpage. How can I fix this? See Link below:
page is still in design, but I dont want to create that until I am sure this button is going to work. I’ve tired using the generic “buy now” as well as the custom, but the custom kept showing and error. Advise?
http://www.simplewifelife.com/458-2/@khristy, The default buy now button image that comes with the plugin is 106×24 pixels. It’s possible that a plugin or the theme is stretching it. Can you please temporarily switch a default WordPress theme (eg Twenty 20) and see what happens?
What error do you get if you use a custom image?
Hi Noor. Thanks for this plugin that I’m using for donations. I have a problem and a question. Problem is that after making two live test donations, there is no listing of orders under WP PayPal > All Orders. Question is, is there any way for donations to show multiple options, e.g. $5, $10, $25, $50, $100, other___ ?
Thank you,
Nelson
Actually, I think I can finesse the suggested donation amount options by creating separate individual “buynow” buttons with amount=”50″ (etc.) and an image for the button corresponding to the donation amount (e.g., image shows text that says Donate $50).
Problem, as other people have had, is that the image button is HUGE. What is the solution for this?
ALSO, I’m still not seeing a listing of orders under WP PayPal > All Orders. Does the listing of “orders” only function for ***product*** orders as opposed to donations?
Hi Noor ~ Can I get an answer for the missing “All Orders” and the huge button, please?
@Nelson, Do you have the debug option enabled in the plugin? It’s possible that the plugin is not receiving the IPN (instant payment notification) from PayPal.
Noor, thanks for your reply; much appreciated.
What should I look for in the debug output? And what do I do if the plugin is not receiving the IPN?
Also, what about the giant image button? How do I make if smaller? (Like around 25% of its current size.)
Thanks!
@Nelson, The log file will tell you if the plugin received IPN from PayPal. Without an IPN the plugin cannot update the order. Do you have IPN enabled in your PayPal account?
Regarding the button image, it sounds like a theme CSS issue. What happens if you temporarily switch to a default WordPress theme (e.g. Twenty Twenty)?
Thanks, Noor. I’ll check on IPN. I am already using the 2020 theme.
@Nelson, Please provide a link to the page in question so I can take a look.
cprclimate.org/testingfor image buttoncprclimate.org/donationsfor donations that seem to work but with no IPN functionality as yet@Nelson, You are using a custom button image of 538×212 pixels. That’s why it looks big.
OK, thanks, Noor. With your help I got the button showing as the right (smaller) size.
This brings up the question of how do I get it to display in the center of my screen, not flush left? Or, as another option, with three or four buttons on the same line, left to right. Currently they are stacked on top of one another on the left side of the screen.
FIRST MOST IMPORTANT PROBLEM STILL UNSOLVED is the combination of these two behaviors: the DONATE function does not allow the use of an image button and the BUYNOW function does not allow a zero $ amount (amount=””).
If either of them worked in the reverse of how they each work, I would be able either to create a non-dollar specific donation (using a BUYNOW button with an image that says “Other…”) and then have the user fill in the dollar amount. Or I would simply be able to use the donation button with an image that says “Other…”
So, FYI, in accordance with the above, your documented functionality of
[wp_paypal button="buynow" name="My product" amount=""]does not work; it throws an error message stating “Amount cannot be empty”SECOND MOST IMPORTANT PROBLEM STILL UNSOLVED is I got the IPN set up but it’s still not showing anything in All Orders. I think I maybe don’t have the URL to which the IPN should be sent set correctly. I just used
cprclimate.orgas the URL. Should it be something likecprclimate.org/paymentsor something?Again, as always, thanks for your kind attention and help.
~ Nelson
@Nelson, IPN URL is not that important because the plugin will tell PayPal exactly where it should send the notification for each transaction. I believe it’s getting blocked on your server. That’s the only explanation of why the log file is empty.
Thanks, Noor. I’ll check with my hosting service.
Could you address my other questions as well, please?
Hi Noor. I spoke for nearly an hour with Bluehost support. They checked and found there were no restrictions on WP PayPal (or any other plugin). So the IPN notifications are not being blocked by my server.
Also, the Debug log has stopped working. There are no new lines of log info at the bottom of the file since yesterday.
Also, I went to the PayPal Instant Payment Notification (IPN) history page and saw that PayPal has been sending IPN messages all along. About three or four times I had PayPal resend the IPN messages for the 6 payments that have been made and in no case did the activity show on the Debug log or in the All Orders listing.
I deactivated WP PayPal and deleted it and logged out of my WP dashboard and then logged in again and installed WP PayPal again and had PayPal resend the IPN messages. Still no Debug or All Orders functionality.
Do you have any way of getting this to work?
@Nelson, You will still receive the payment. It will just not be under Orders. Unfortunately I don’t know how you can get this to work. I have tested it on my development site. So I know it’s not a bug.
Any further updates on this issue? IPN responses became intermittent a few days ago. Yesterday I was receiving maybe 50% and they were all delayed by 4-8 hours (thought PayPal was showing approvals almost immediately). I was 2 revisions behind on the plugin so I updated and now IPN notifications are no longer being received at all. PayPal confirms all notifications are queued. I really would like to get the ipn url for local testing. Could we get that? Or a generic path to use for local testing?
Thanks, Noor.
I need to charge 3.1% convenience fee on the total order in shopping cart, Is this possible?
cprclimate.org/testingfor image buttoncprclimate.org/donationsfor donations that seem to work but with no IPN functionality as yetHi, apologies if this has already been asked….is there a way to make the DONATE paypal button any larger? It’s a little bit engulfed in it’s current default size.
@Nicki, You can use a custom button image.
Hi, how can I center-align this button? Thanks
Is there some short code or something that will allow me to center align this button? Thanks!