WordPress Easy Paypal Payment or Donation Accept Plugin

Categories: Featured, Wordpress Plugin

WordPress Icon‘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.

Download Paypal Donation Plugin

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.

Plugin Screenshot

Plugin Screenshot

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 in Pound Sterling Example

Donation with Other Amount

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.

paypal_payment_plugin_trigger_text

Usage

There are three ways you can use this plugin:

1. Add the following trigger text to a post or page in HTML view.
paypal_payment_plugin_trigger_text
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 :)

Buy me a Coffee!



Your Web Address :



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
  • 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.

  • Share/Bookmark
Tags: Paypal, Web development, Wordpress, Wordpress Plugin

Similar posts that you may like

Subscribe to Tips and Tricks HQ to stay informed

twitter_icon

256 Comments (and 25 trackbacks)

  • #1 by admin on March 27, 2009 - 8:32 pm

    The shipping is set to ’0′ by default which means it will not charge any shipping.

  • #2 by nazmul on March 31, 2009 - 7:08 am

    Nice plugin,
    Nice Site.

    What plugin are you using for the mouseover on your site?

  • #3 by admin on March 31, 2009 - 4:47 pm

    Hi Nazmul, I am glad you like the site and my plugin. I am using a javascript for the mouseover tooltip.

  • #4 by nazmul on March 31, 2009 - 5:41 pm

    admin,

    how can i add this to my site?
    Are you selling it as plugin?

    Nazmul

  • #5 by Martin on April 1, 2009 - 4:51 am

    Hi,

    I changed your plugin a bit further. Here the changelog too:

    * Changed Payment option’s type to float
    * Changed the Donate button image

    A demo can be found on my own blog.
    Can you please include this changes in your next release?

  • #6 by admin on April 1, 2009 - 5:18 am

    Sorry Nazmul, I am not selling this as a plugin

  • #7 by admin on April 1, 2009 - 5:18 am

    @Martin, Thank you for the update. I will include the changes in my next release.

  • #8 by Damian on April 3, 2009 - 11:44 pm

    Great plugin, very useful, thanks for share.

  • #9 by Jimbo on April 10, 2009 - 11:05 pm

    Great plugin, works like a charm…one quick question and I looked through all the feedback on this page for it, but I apologize if you’ve already answered it…

    I’m trying to center the widget itself in a right sidebar column…I’m not sure where I would input the div tags in the PHP, or if I even need to do this to get it done. Any help would be greatly appreciated…

    J

  • #10 by admin on April 12, 2009 - 12:53 am

    Hi Jimbo, if you use the executable PHP code plugin which lets you execute PHP code from your sidebar widgets then just enter the following piece of code in the widget to center it.

    <div align=center>
    <?php echo Paypal_payment_accept() ?>
    </div>

  • #11 by Leslie on April 14, 2009 - 10:34 am

    Thanks for the plugin! Very easy to use solution to getting paypal into wordpress. I used it on 2 of my sites so I bought you 2 coffees. :-)

  • #12 by admin on April 14, 2009 - 4:59 pm

    Cheers Leslie :)

  • #13 by keyfitness on April 14, 2009 - 6:31 pm

    I love this plugin!
    I was able to put products and add them to my cart.

    However, there is one product that seems to be “STUCK.”
    I can’t delete the “Rockin’ Body” item from my cart.
    I can add and delete other products, but not this one.
    I can only add, but I can’t delete.

    Please help. I can’t empty the cart!
    =(

  • #14 by admin on April 14, 2009 - 6:57 pm

    Hi KeyFitness, I just visited your products page (http://fitnessisthekey.com/?page_id=17) and was able to Add and delete the “Rockin’ Body” item from the shopping cart. Let me know if you are still having issues… also you might want to use the latest version of this plugin which has better images and extra features. Please post any further comments related to the paypal shopping cart plugin (which is the plugin you are using) to that plugin’s comment section (http://www.tipsandtricks-hq.com/?p=768). Thanks.

  • #15 by keyfitness on April 14, 2009 - 10:24 pm

    Thanks Admin. I closed IE and opened a new browser. That cleared my cart out.

  • #16 by admin on April 14, 2009 - 10:52 pm

    Ah! the good old IE :)

  • #17 by Scott on April 16, 2009 - 7:07 am

    hi there,

    is it possible to add other options for customer input?

    for example, i want to accept payments for a sports event and need customer details such as name, address, tel, emergency contact, etc.

    this info would be collected in a form like the email address currently is.

    also, i have 6 product options but the individual option names be put through to paypal?

    for example:

    day 1: £10
    day 2: £10
    special: £15

    at the moment, the product name doesnt go to paypal so I wouldnt know if the customer had bought day 1 or day 2.

    many thanks

  • #18 by Lorand on April 17, 2009 - 11:15 am

    Hello :)

    Thanks for this nice plugin. I can translate it in French language if you want. You can send me your .po file when you want.

    Have a nice week-end

  • #19 by Dale on April 20, 2009 - 6:28 am

    Can anyone advise on how to accept decimal typed donatons? eg £10.50? Every time I enter in .50 or any value it strips this and changes to £10

    Any ideas?

  • #20 by Sherrie on April 21, 2009 - 12:14 pm

    This is a really useful plugin, thanks! My only question is this, I would like to use this instead of the simple donation plugin because we have two types of donations – however I want them to be able to fill in the amount for either option. Currently if you leave both at 0 it only displays one, is there an easy modification for this? Also it would be great if it could display the name of the option selected as the payment type so that we know which fund it is designated for.

  • #21 by John on April 28, 2009 - 8:24 am

    I have managed to get the plugin to work but i have 2 problems:
    In my payment option text I want to have a word with an apostrophie like it’s
    1) The code correctly updates for PHP to it\’s but the backslah also appears on my page
    2) I want to price at 9.99 and the .99 gets stripped out leaving only 9 in the currency field
    Can you tell me how to fix those problems
    Thanks

  • #22 by admin on April 29, 2009 - 1:57 am

    @Dale & John, the new version (v2.4) that I just released should take care of the decimal price issue.

    Regarding the apostrophe… I will need some time to investigate and see if there is a way around.

  • #23 by admin on April 29, 2009 - 2:05 am

    @Sherrie, I am not sure if what you are asking can be done using this plugin. Could you use two ‘Donate’ buttons using the simple donation plugin instead? I could customize the donate buttons so it will have two different reference texts so you know which fund it is designated for.

  • #24 by John on May 1, 2009 - 5:18 am

    Thanks for the update V2.4 works great with the decimal point,
    The text I want to include is a book title which has an apostrophe but is also almost 40 characters inc the price but I can’t find anywhere to set the diplay field size, it seems to be locked to 18 char, could you point me in the right direction?
    Thanks again

  • #25 by admin on May 1, 2009 - 7:19 pm

    Hi John, the display field shouldn’t be locked to 18 chars. I have a feeling that everything after the apostrophe is getting chopped. Would you mind entering the book name without the apostrophe and tell me how that goes?

  • #26 by John on May 4, 2009 - 4:09 am

    Hi
    I have entered the name without apostrophe and it displays the same but the option box is too small to show the whole name and I can’t seem to find where the size of the box is set. i.e. if I type into the box “This text will not fit in the box” what displays on the page is “This text will not fi”

  • #27 by Adrian on May 6, 2009 - 1:12 pm

    Nice plugin, easy to use, good job!

  • #28 by Paul Andrews on May 10, 2009 - 7:08 pm

    Hi, thank you for your time and effort on what is a very useful plugin!

    Can this plugin accept payment and subscribe the user, billing them each week/month/year as a PayPal subscription service?

    Thanks

  • #29 by admin on May 10, 2009 - 11:01 pm

    @Paul, No this plugin does not have the capability to bill the customers each billing cycle.

  • #30 by Jared on May 12, 2009 - 10:36 pm

    Made some modifications to the plug-in locally on http://www.theaimlesspenguin.com. Added “Paypal Donation” heading to separate this widget from other widgets and added the Paypal logo after receiving user feedback that it wasn’t clear that the donation was through Paypal. I’d suggest integrating these changes into the plug-in for other users.

  • #31 by admin on May 12, 2009 - 11:33 pm

    @Jared, Sounds good.. I will include them in the plugin in the future.

  • #32 by Gabi on May 14, 2009 - 7:57 am

    Hi,

    This is an excellent plugin,

    Sadly I cannot get it to work,

    I have downloaded the plugin from WP, did not work.

    Then downloaded it from here, did not work either.

    The plugin is activated and I am pasting the following code on HTML tab;

    (double – -)

    This does work as a widget, but don’t want it there :)

    Any ideas ?

    Please help when possible,

    Regards,

    G.

  • #33 by admin on May 14, 2009 - 8:20 am

    @Gabi, I just checked the page where you are using the paypal payment accept plugin and it looks like it’s working.. so I am guessing you got it to work.. let me know if you are still having issues.

  • #34 by Julie G on May 16, 2009 - 12:26 pm

    Excellent plugin – just what I needed!

    Everything seems to be working fine, but the actual button is enlarged and fuzzy – how can I fix this?

    http://juliegomoll.com/SF3/join/ (at the bottom of the page)

    Thanks : )

  • #35 by Martin on May 17, 2009 - 12:08 pm

    Any way of having custom button images with this plugin?

  • #36 by Julie G on May 17, 2009 - 1:07 pm

    Never mind. I decided to use the sidebar widget instead. Problem solved :)

  • #37 by admin on May 19, 2009 - 2:06 am

    @Martin, Yes, you can use custom images with this plugin. All the images are stored in the ‘images’ directory… just overwrite them with your own image or modify the plugin code.

  • #38 by Gabi on May 20, 2009 - 2:17 pm

    Hi,

    Got it working in the end, the trigger text was not working with any of the examples.

    I used the trigger text from the plugin page originally and it did not work, I re-installed the plugin by downloading it directly from you, used the trigger text same as before and it worked.

    Something I done must have been wrong :)

    At least it’s up and running now, just need to style it and I am all ready to go.

    Thanks again for taking your time to reply,

    Kind regards,

    Gabi.

  • #39 by Martin E on May 24, 2009 - 7:33 pm

    Simple but GREAT Plugin, Thank you!

    I want to add a second Reference Text Box… by the way, I did it… but it doesn’t work. In my PayPal email I received only one reference. Is it possible to do it work?

  • #40 by admin on May 25, 2009 - 4:14 am

    @Martin, Yes it is possible to add a second reference text box. You will have to use the ‘on1′ and ‘os1′ optional PayPal HTML Variables to introduce your 2nd reference textbox. As an example, you can see how I have used the ‘on0′ and ‘on0′ PayPal HTML variables in the plugin code and do something similar for ‘on1′ and ‘os1′ variables and it will work.

  • #41 by koullis on June 1, 2009 - 1:42 pm

    nice plugin easy to to use :)

    is it possible to add a progress bar?

    ex .

    $5 of $100

    5% received

    or something like this

    thanks

  • #42 by admin on June 2, 2009 - 1:15 am

    It is possible but you will have to do some code changes are you okay with PHP coding?

  • #43 by koullis on June 2, 2009 - 5:34 am

    tell me the changes and if i have problem ill let you know ;p

  • #44 by koullis on June 4, 2009 - 9:41 am

    im still waiting for the code changes

  • #45 by admin on June 4, 2009 - 11:26 am

    I would do it this way…

    Using a Database Table:
    1. Create a database table where you are going to keep the total donation received amount.
    2. Write a small script that will handle PayPal’s IPN (Instant Payment Notification) and update the database table value by adding the new received amount with the previous amount. This will help you track the total amount that you are receiving so you can display the % received.
    3. Modify the donation form to add the ‘notify_url’ variable so PayPal can send the IPN to the script you wrote in step 2.

    Without using the Database:
    If you don’t want to use the database for one variable then you can just use a local variable in the plugin to store the value of the total received amount. This way everytime paypal sends an IPN after someone pays you can just update the received amount variable by using the something similar to the following and then use that value to dispay the total % received:

    update_option(‘received_amount’, 10);

  • #46 by JC on June 9, 2009 - 12:33 am

    Great plug in, smooth installation. My question Is there a way to add a notes section for a customer to add order specifics? (ie.. customization request?)

    Thanks!

  • #47 by admin on June 9, 2009 - 12:38 pm

    You can use the reference text box for the customers to add order specifics. You can also add a 2nd reference text box for more order specifics… refer to my reply to “Martin E” above for more details regarding a 2nd reference text field.

CommentLuv Enabled

Featured & Popular Articles

Tips and Tricks Hot Items

wordpress_estore_icon
wordpress membership plugin
WordPress PDF Stamper Plugin
WordPress Affiliate Link Manager Plugin
wordpress_affiliate_plugin_icon