WordPress Easy Paypal Payment or Donation Accept Plugin
Categories: Wordpress Plugin
‘WordPress Easy Paypal Payment or Donation Accept Plugin’ is an easy to use WordPress plugin to Accept Paypal payment for a service or a product or Donation in one click. Can be used in the sidebar, posts and pages.
After receiving numerous requests, I have added multiple currency support and a donate button option to this WordPress plugin. See the change log section below. Now WordPress admins can configure this plugin with a ‘Donate’ button to receive donations through PayPal. If you want to accept payment for products and want shopping cart functionality then check the WordPress Simple Paypal Shopping Cart plugin. If you are just after a simple donation only plugin then check out the WordPress Simple Donation Plugin Page.
A while back I was looking for a WordPress plugin to use on one of my sites to accept payment for a simple service without the Customers having to log in to my site or become a member and stuff. I couldn’t find a simple enough WordPress plugin that does the job so I wrote one myself. One of my friends used it and suggested that I should make this plugin available for others to use. So I tidied up some code and decided to release it.
The Plugin can be configured to accept payment for a service or a product in one click. See the screenshot for example:
The Plugin can also be configured to accept donation too. See the screenshot for example.

Donation in Pound Sterling Example

Donation with Other Amount
This plugin does not give you a shopping cart or e-commerce functionality. Those features may be added in the future releases. Check out the WordPress Simple Paypal Shopping Cart plugin, If you are looking for an e-commerce plugin for your WordPress site.
Installation
1. Unzip and Upload the folder ‘WP-accept-paypal-payment’ to the ‘/wp-content/plugins/’ directory.
2. Activate the plugin through the ‘Plugins’ menu in WordPress.
3. Go to Settings and configure the options eg. your email, Subject text etc.
4. Add the following trigger text to a post or page where u want it to appear in HTML view or use the Widget. see the Usage section for more details.
Usage
There are three ways you can use this plugin:
1. Add the following trigger text to a post or page in HTML view.
![]()
2. Call the function from a template file:
3. Use the ‘WP Paypal Payment’ Widget from the Widgets page.
This Plugin in Action
If you like this plugin then support my coffee habit by buying me a coffee. You can also see the Plugin in action too ![]()
Download Latest Version (v2.4)
Download the Plugin.
Change Log
- Version 2.4
- Fixed an issue whereby the decimal numbers were getting stripped from the paypal payment amount.
- Version 2.3
- Added the optional “Other Amount” donation capability
- Added a “Return URL from PayPal” field.
- Made the Reference Text customizable and optional.
- Some widget display tweaks.
- Version 2.2.1
- Removed the link to settings option from the widget panel.
- Version 2.2
- Added multiple currency support.
- USD US Dollar
- GBP Pound Sterling
- EUR Euro
- AUD Australian Dollar
- CAD Canadian Dollar
- NZD New Zealand Dollar
- HKD Hong Kong Dollar
- Added Multiple Button Types.
- Pay Now button
- Donate button
- Added multiple currency support.
- Version 2.1
- Added Widget Support.
- Added more payment options (up to six).
- Fixed up some minor ‘html’ bugs.
Feel free to leave your comments. I like comments ![]()
Additional Documentation
How to collect the Shipping Address from the customer
You don’t really need to collect shipping address from the customers manually as they can specify a shipping address when paying on PayPal. So this is how it works:
- A customer clicks on the Pay Now/Buy Now button and goes to paypal to pay for the product or service.
- The customer fills in the credit card details or logs into his/her paypal account and reviews the order
- Now before hitting the “Pay Now” button the customer can specify a shipping address by clicking on “Change Shipping” that is shown below the default shipping address.
- After payment, PayPal will send you a payment confirmation email which will have this postal address so you can ship the item.
If you need help wth this plugin (such as additional currency support etc) or if you find an issue with the plugin then leave a comment and I will try to address it as soon as I can and don’t forget to check out the WordPress Simple Paypal Shopping Cart plugin which also allows you to sell proucts and services sitewide and has shopping cart functionality or the WordPress Donation Plugin which allows you to receive donation.
Articles you may also like:











#1 by Ivy on April 9, 2010 - 10:19 pm
Hi, The following post will explain this more” http://www.tipsandtricks-hq.com/ecommerce/wordpress-ecommerce-knowledgebase-523#paypal_credit_cart
If you have any questions please let me know.
Cheers,
Ivy
#2 by cars111 on April 9, 2010 - 10:06 am
hi mate great plugin have it installed, is there a way where the client can input there card details straight away and pay without having to sign up to paypal?
its asking for them to make a paypal account thanks
#3 by photowork on April 2, 2010 - 9:24 pm
Thank you for a great plugin. I’m very appreciate it. Cheers!
#4 by Ivy on March 26, 2010 - 11:08 pm
Hi Daivd, I am glad you got this working. Please let me know if you need anything else.
Cheers,
Ivy
#5 by david on March 26, 2010 - 1:27 pm
Ah ha – found the problem. The plugin is fine, i was using the wrong part of WordPress to configure it. All works now!
#6 by david on March 26, 2010 - 4:15 am
New to wordpress and new to this plugin – it looks to good to be true but i simply can’t get it to work.
I’ve installed it – i appears on the site but despite altering the config. the original “gold/bronze/silver” values appear and when i click pay it goes to Paypal for the Antique HQ site.
It’s under the “Contact Us” but of the website above if that helps.
#7 by Ivy on March 21, 2010 - 9:17 pm
Hi Glenn, Subscriptions are only supported when using the eStore. This options is not available for the Simple Shopping Cart.
Cheers,
Ivy
#8 by Glenn Sojourner on March 21, 2010 - 3:17 am
First, this is great! Makes it so easy to integrate payment.
Now I will be a pain in the butt! LOL Is there a way to do a low cost trial say 4.99 for one month and then 19.99 afterwards? I can do that on paypal and create the form code there but it would be nice if a plug-in allowed that.
#9 by Ivy on March 7, 2010 - 7:09 pm
Hi Don, This is usually a CSS problem with in the theme. The following forum post will explain how to fix this issue.
http://www.tipsandtricks-hq.com/forum/topic/add-to-cart-button-not-display-correctly
Cheers,
Ivy
#10 by Don on March 7, 2010 - 5:27 pm
The “donate” lpg shows huge! Any control over it?
Thank you, in advance.
#11 by admin on March 6, 2010 - 12:54 am
@Alison, Where do you want to add the image?
You should be able to put plain HTML to insert your image?
#12 by admin on March 6, 2010 - 12:51 am
Hi Mark, please download version 2.5 from this page and it should fix the “Address issue” now it won’t force the customer to enter an address.
#13 by Alison on March 5, 2010 - 8:51 pm
I’ve using the plugin as a widget in my sidebar. I really want to add an image, how can I do this?
#14 by Mark on March 5, 2010 - 12:04 pm
Hi,
Thank you for this plugin. I needed the drop-down option to help with receiving donations from people for my daughter. The only thing I want is to REMOVE the requirement of having to put their shipping address. It is just a donation and I do not want to prevent people from donating who would not want to reveal their address.
Is there a way to make this OPTIONAL and in BOLD print so donators know??
Thanks,
Mark
.-= Mark´s last blog ..Help Rachel See Me! =-.
#15 by Ivy on February 24, 2010 - 7:03 pm
Hi Patrice, Unfortunately we do not plan to add this feature to the Paypal donation plugin. Have you looked at the Simple Paypal Shopping Cart this plugin (http://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768) may be what you are looking for .
Cheers,
Ivy
#16 by Patrice on February 24, 2010 - 10:45 am
Hello,
It’s a great plugin
but i need to specify a quantity of products, can you add this feature to the plugin please?
#17 by Dominic on February 12, 2010 - 1:22 pm
Hello, I enjoy your plugins. Thank you. I am also using eStore plugin and like the functionality to show how many items have been sold of a product. Is there a way to show how many donations have been made?
#18 by admin on January 27, 2010 - 2:43 am
Any information you want the customer to send through with the payment (e.g. website address)
#19 by Mike on January 27, 2010 - 1:32 am
So what exactly is the reference text box for?
.-= Mike´s last blog ..Learning to trust video… =-.
#20 by admin on January 23, 2010 - 8:00 pm
what fields do you have in mind?
#21 by KCKilljoy on January 23, 2010 - 12:53 am
How can I get more form information fields for this plug in. nice btw…
#22 by Ivy on December 13, 2009 - 9:09 pm
You just have to add it to the widget from the widgets menu
.-= Ivy´s last blog ..Debugging JavaScript Code with Firebug =-.
#23 by website on December 13, 2009 - 1:38 pm
How do I add this in a widget-ready template?
#24 by admin on December 7, 2009 - 4:09 am
@Mattian, this is not possible because the plugin has no way of knowing the exact transaction fee for a purchase beforehand (the PayPal transaction fee varies depending on your PayPal account level). You can however add on a 5% extra to every product price when you input the price for an item to cover the fee.
#25 by Mattian on December 6, 2009 - 7:30 am
Hi there. Thanks for this plugin, using it on a few sites.
Is it possible to get the plugin to automatically add on the paypal fee? Im using it for a nursery to collect invoice payments – but the nursery want to have the paypal fee covered by the parents when paying.
Thanks in advance.
Matt
.-= Mattian´s last blog ..Christmas is in the air in Kidderminster! =-.
#26 by TAG on December 3, 2009 - 11:46 am
@admin thanks for your reply. I was able to delete some code and get it to work so that the amount field and reference field was available without the dropdowns. I am using the plugin for clients to pay bills. Thanks!
#27 by admin on December 3, 2009 - 5:27 am
@TAG, you can simply use a donation plugin if you just want to let your visitor’s specify an amount. The following plugin might help:
http://www.tipsandtricks-hq.com/wordpress-paypal-donation-plugin-942
#28 by TAG on December 2, 2009 - 11:01 pm
Cool plugin. Sorry if this has already been answered (couldn’t find it though) but how do you get rid of the drop down menu so that all you have is the custom amount window? I’ve been tinkering with editing the plugin to no avail. Thanks!
#29 by admin on December 2, 2009 - 4:31 am
@Virg, please uncheck the “Show Other Amount” checkbox from the settings menu and it won’t prompt the customer for an amount
#30 by Virg on December 2, 2009 - 12:47 am
Thanks for the plug-in. I have 1 question. After I choose a product from the drop-down list and continue to the paypal page why do I get “Please provide an amount and click Update Totals”? Shouldn’t the Total appear without having to click “Update Totals”? Thanks.
#31 by admin on October 25, 2009 - 6:41 pm
@Kris, you can charge for anything you like.
#32 by Kris on October 25, 2009 - 4:53 pm
hi!
is possible to charge users for posts? f.e. placing a post on my site will cost 1$?
#33 by admin on October 20, 2009 - 10:55 pm
Hi Nicole, you can use the Reference text box for this purpose (you can customize the label from the settings menu). It will get included in the PayPal payment. You can also add another textbox like this one if you want… simply add another text field by following example of the existing one (around line 107 of the plugin file). use on1 and os1 as the field names (these are specific paypal HTML variables)
#34 by Nicole on October 20, 2009 - 9:55 am
Awesome plugin! Is there an easy way to add an extra text field? Basically- if someone donates, I want to give them the option of sending a letter to the person that they donated in honor of. I don’t need this to be complex -I just want to add an additional text box that says “If you would like us to send a letter.. blah blah” then enter in that persons address. I just need it to be a text box but I want to make sure it gets included in the PayPal form. Can I do this using another reference box? Or maybe a “Purpose” box or anything? I’m not a PHP developer but I can modify the code and am comfortable doing so. Thanks!
.-= Nicole´s last blog ..New York City Getaway =-.
#35 by admin on September 23, 2009 - 4:30 am
Yes, it is possible to change the button image… the easiest is to name your button image the following and upload it to the plugin folder by overwriting the existing one:
“btn_paynowCC_LG.gif”
The other option is to change it in the code to use your custom button image.
#36 by joey on September 22, 2009 - 10:03 pm
hi is it possible to change the IMAGE or button format?
tia
#37 by admin on September 21, 2009 - 10:38 pm
Hi Chris, The option to pay with credit card will be on the left. You may have to click on a link that says “Pay by Credit card”… if you are new to paypal this form to enter you card details will be on your face when you go to paypal else you will have to click on that link to bring it up. You may have to have a PayPal business account as a merchant to be able to offer this though.
#38 by Chris on September 21, 2009 - 2:16 pm
Hi,
When I click the Pay Now button with the credit cards underneath I am taken to PayPal but the only options I have are to set up a new PayPal account or use the one I have. There seems to be no option to pay directly by credit card. What am I doing wrong?
#39 by admin on September 21, 2009 - 1:13 am
@Jennifer, I am a little confused… no one answering what?
#40 by Jennifer on September 20, 2009 - 11:24 pm
Is no one answering this for a reason?
#41 by john on September 19, 2009 - 12:34 am
I’m a hacker, not a coder. And by hacker I mean I just hack at the code until it works. The first time I tried something, it didn’t work, so I hacked some more. Step one, I took the code and stuck it into Notepad++, and then did a global search and replace for wp_ and that turned all the functions and most of the variables into wp2_ , and then ran through the file manually and anything that seemed to need a 2 in it I put a 2 on it, even the filename. I can’t say that a) this was the easiest way to do it or b) it was the smartest way to do it or even c) that it works 100% without bugs BUT I can say that it seems to have worked. Sorry for the late reply, up to me eyeballs in work:-)
#42 by Fabrice on September 16, 2009 - 4:39 pm
Hi many thanks for the hint I will try both solutions and look for the more efficient one. Merci beaucoup Fabrice
.-= Fabrice´s last undefined ..If you register your site for free at =-.
#43 by admin on September 16, 2009 - 5:33 am
Hi Fabrice, basically you need to make a copy of this plugin and call everything number2 so the variables and stuff is different and then you can activate two plugins that does the same thing and have two modules. Please note that this is not really a good way to do things. You should really look into the option of using a WordPress shopping Cart
#44 by Fabrice on September 15, 2009 - 1:45 pm
Hi,
Thanks for your speedlight answer. If you say “a little bit” I can try.
John solved it in 20 minutes. Even if it takes me an hour, I think it’s worth to
give it a chance. Will you help me ?
Thks again
Fabrice
#45 by admin on September 15, 2009 - 12:04 am
Hi Fabrice, this is possible but it requires you to have a little bit of PHP and HTML knowledge… are you okay with that?