Paypal Payments Plugin for WordPress

All the PayPal plugins I’ve tested have fixed payment settings. This plugin is different. It allows the user to fill in a form with their reference number/ ID/invoice number and the amount to pay before submitting to PayPal.

It’s ideal for anyone who has variable payments: guest houses, B&B, hairdressers, dog walkers, window cleaners, builders, plumbers and so on.

And as simple as I can make it.

Once you have installed and activated the plugin just go to the settings page and enter your PayPal email address and the Currency.  Now go to your payment page and enter the shortcode [qpp]. That’s it, nothing else to do.

Click Here to Download the Plugin

Upgrade to Pro

The free version of the plugin will do the job but if you want a slick and professional payments portal you need the awesome In-Context payments. This is a PayPal feature that lets people make a payment without leaving your website. Find out More...

But there’s more…

Paypal Payments admin page

PayPal Payments admin page

You can:

  • Have multiple payment forms on your site,
  • Preset the ID and the amount
  • Let users select the quantity
  • List options for a product or service.
  • Edit any of the labels and error message
  • Style the form width, font, background and borders
  • Add your own custom CSS
  • Change the settings for thank you and cancel pages
  • Add coupon codes
  • Use WordPress queries
  • Link to Terms and Conditions
  • Calculate and display live totals

And it’s not just me

All these websites use the plugin as well. Or at least they did when I created the page.

People who use the plugin

Setting up and using the plugin

Here is my handy guide to setting up and using the plugin.

Some forms to look at

Here’s a page of example forms to play with.

Instant Payment Notification

If you have a PayPal Business or Premier account you can get instant payment notifications. Set this up on the IPN page of the plugin settings. If you need to check it’s working there is a guide to IPN simulation.

Shortcodes

All the shortcodes are given on the plugin setup page. They are also published on this plugin shortcodes page.

Using Queries

An alternative to shortcodes is to use WordPress queries. The basic format is:

mysite.com/payment-page?reference=Thingy&amount=£100&coupon=ABC123

The key is the use a single question mark to begin the query and ampersands to separate each bit.

If you already have a question mark in your URL just use ampersands like this:

mysite.com/payment-page?id=123&reference=Doodah&amount=£100&coupon=ABC123

You can use any combination of queries in any order:

mysite.com/payment-page?coupon=ABC123&amount=$3.99

Add your comment

  1. Elizabeth on 06 Sep 2013

    I’m using this great form for a simple donation generator on our non-profit website. We are losing the other online payment gateway we were using before and switching back to PayPal tonight. We could live with the reference line open but used to have two options for people to give to our “General Offering” or to “India Mission.” I’m totally new to anything code. I see how to preset the id field but am wondering if there’s any shortcode that would allow a drop-down box with two choices? We want the donation (payment amount) line wide open, but would love to lock the reference field in to require one choice or the other.

    • Graham on 06 Sep 2013

      Hi Elizabeth,
      I’m busy experimenting and testing all sorts of options for the form. One of these will be an ‘options field’ so people can choose colours, sizes and whatever. This will solve your problem. But it’s not going to be ready for a little while as I have lots of things going on. I will let you know as soon as it is ready.

      In the meantime just use the plugin settings page to edit the blurb and ask people to write ‘general’ or ‘india’ in the reference field.
      Graham

  2. Angie on 29 Aug 2013

    How do I change the color of the “submit” button?

    • Graham on 30 Aug 2013

      Hi Angie,

      Go to Setting > Paypal Payments > Styling and scroll to the bottom of the page. Then add the style: #qpp-style #submit {color: #FFF;background: #343838;} Change the colours to whatever you want. I’ve had a couple of people ask me the same question about this plugin and my contact form so I will add a styling option very soon.

    • Graham on 03 Sep 2013

      Latest version of the plugin now has options to edit the submit button colours and use a button image

  3. Marcus on 22 Aug 2013

    Hi!

    I like your plugin and would like to know if it’s translatable?

    • Graham on 23 Aug 2013

      I’ve never really worked how to do the language files thing. It looks quite easy but it would take a lot to upgrade the plugin. The bit the visitor to a website sees can be any language (just change the content of the fields). The bit the admin sees is just English for now. If you could create the translation files then I will add them to the plugin…

    • Marcus on 27 Aug 2013

      Thank you for a quick answer.

      We have a multi lingual website and would actually need multiple forms. If that was possible we could, like you said, write whatever we want in the fields.

      I saw that you’ve tried to use multiple forms on one page and it didn’t work. Would it be possible to have multiple forms but on seperate pages?

  4. Susanna on 13 Jul 2013

    I have installed the PP plugin and it’s working great. I’m new at all of this, so I’m wondering what code to use for a “add to cart” as I will be offering more product on the shop page-or if you could tell me where to find the instructions for doing so. I went to PayPal site and copied the code, but it won’t accept it. Any suggestions? I will take a cruise of this site to learn more also. Thanks, Sue

    • Graham on 14 Jul 2013

      The plugin isn’t really designed for a shop or add to cart. If you want to set the reference or amount use a shortcode like: [ qpp id=’abc’ amount=’£10′ ] (without the spaces either end). But you can only have one payment form on a page as I haven’t worked out how to do multiple forms.

  5. Daniel on 12 Jul 2013

    Wow this plug-in is great! Using this and the contact form and love the simplicity. Wondering why the form does not include the option to add additional information in it? For example, instead of a reference ID, customers can enter their name, number, booking information, etc. Even a few text boxes would be very useful!!

    Thanks for a great plug-in! Daniel.

    • Graham on 12 Jul 2013

      Thanks Daniel,

      I have been thinking about this sort of thing but the main problem is what to do when the form is sent. PayPal isn’t interested in names and things, the only fields it accepts are quantity, reference, amount and currency. So for it to work I’d have to send some of the info to you and some to PayPal. All a bit complicated.

      But I will ponder and see what I can come up with.

    • Daniel on 13 Jul 2013

      Thanks for the reply Graham – maybe even something as simple as combining the inputs in the form in to the reference field in PayPal. For example, say a customer enters name [Bob], date [13/07/13] and favourite colour [Blue] – the reference field in PayPal could read: Bob, 13/07/13, Blue. This would be awesome!
      Thanks again, Daniel.

  6. Candise on 08 Jul 2013

    I have tried what you suggested but unfortunately it still doesn’t work. Thanks for further investigating the issue.

  7. candise on 08 Jul 2013

    This Plug-in is great! However, the font Options in styling isn’t working for me. I’m trying to switch back to the Use Plugin font styles option and the text is not changing back. I tried uninstalling plug in and reinstalling it but it will not work.

    • Graham on 08 Jul 2013

      Can you email me the URL of the page so I can take a look at the code.

    • candise on 08 Jul 2013

      This is the URL http://www.creatinggraphics.com/payments

    • Graham on 08 Jul 2013

      If you refresh the page then the correct font should display. I’ve just tested on my testsites and it all worked ok. I don’t know why the settings page doesn’t properly update – something I will investigate

  8. Mc-photos on 05 Jul 2013

    just integrated with my web site . Tested with Safari , seemed to work fine . But first real user ( customer) reported as not working . so tested again with Firefox and Opera : when pressing “Submit Payment” it displays the original form again without linking to Paypal .
    Other point : tried to setup the URL for cancelation page in submit options , but it is not saved when I press save Changes .

    • Graham on 05 Jul 2013

      Can you go get version 2.0.3 and see if it works. There was a comma in the code that shouldn’t have been there.

    • Mc-photos on 05 Jul 2013

      Partly . seems to have fixed the second item ( save cancel page url) but not the main issue of compatibility with Firefox and Opera ( I have no way to test with IE , i am on Mac but my customer was on Chrome/XP ) . you can have look on http://www.mc-photos.com/paypal/

    • Graham on 05 Jul 2013

      I’ve tested on Firefox, IE, Chrome and Safari. All worked OK. I have no idea why Opera isn’t playing. I will investigate.

    • Mc-Photos on 06 Jul 2013

      I get the following error on Firefox :
      [07:53:52,926] ReferenceError: validatePayment is not defined @ http://www.mc-photos.com/wp/paypal/:1
      I tried
      – with twenty twelve Theme : Unchanged
      – deactivating all plugins , except yours : Unchanged
      – using widget instead of shortcode : seems to work properly ( tested on safari, Firefox and Opera)

    • Graham on 06 Jul 2013

      Just tested on my phone (safari) and it worked. Looking at your page in Firefox and I see two forms and a paypal event. This is probably why it isn’t working…

  9. Michael on 28 Jun 2013

    I was wondering if it is possible to use, multiple vesrsions of this, so I can have different amounts for different trips out, in my case.

    • Graham on 28 Jun 2013

      Hi Michael,

      Yes you can, but not on the same page (yet). It’s on the list if things to do. All I can offer at the moment is the shortcodes – see the plugin help tab for how to use them.

  10. Mark on 02 Jun 2013

    Using artisteer generated template. Plugin is presently deactivated. The plugin, when activated and installed as a widget, causes the sidebar and footer to disappear. When using on a page it “freezes” or does nothing when clicking the black payment button. This plugin actually worked great on my site until the update.

    • Graham on 02 Jun 2013

      Mark,
      I’ve found a bug in the sidebar widget which will hopefully solve one of your problems. To fully test to plugin activate the wordpress twentytwelve theme and see if the plugin works (example here: http://clean.testblog.co.uk/). If it works then the problem is probably the theme. If it doesn’t then I need to investigate why.

    • Mark on 04 Jun 2013

      It worked! Most excellent and thank you!

  11. Rob on 30 May 2013

    Hi,
    In config of the module is set to GBP. Yet when sending to PP it reverts to USD.
    Any idea why this is the case.
    Thanks,
    Rob

    • Graham on 31 May 2013

      Hi Rob,

      It was a bug in the code. My mistake, all fixed now. You just need to upgrade to Version 2.0.1

    • Rob on 31 May 2013

      Thanks Graham,

      Works as expected now. Thank you for a great & flexible plug-in.

  12. Simon Beech on 18 May 2013

    Hi, I have installed and set up the plugin (shortcode) and the form works well. Until, that is, I try to navigate the payment process. Once I have completed the name and amount details, click “Make Payment” and I am redirected to my website homepage. I have tried different configurations (open in same/new window) but same results. Is this plugin not compatible with WordPress version 3.5.1? Any help would be greatly appreciated as this plugin meets my needs perfectly.

    • Graham on 18 May 2013

      Simon,

      There shouldn’t be any compatibility problems with wordpress as it is working on this site, I suspect the problem is a conflict with another plugin or the theme. There are a number of tests you can do. First is to active the wordpress 2012 theme and see if the plugin works. If that fails then turn off the other plugins you are using and see if you can make a payment. Or you could set me up as an admin on your site so I can investigate.

    • Simon on 19 May 2013

      Hi, I have tried switching themes to 2012 and have the same result. I have also deactivated the plugins, again still the same. Contact me via email and I will give you admin access details. Thanks for your quick response, much appreciated.

  13. Richard A Lodge on 29 Apr 2013

    Installed you plugin, activated it and then on settings.
    At the top it says’ use the widget manager to add a payment form to a sidebar or use the shortcode (qpp) in your post and pages’

    If I click on widget manager whatever it is looking for does not exist,
    And what is the shortcode and where is it.
    Not very clear for a novice to use.
    Richard

    • Richard on 29 Apr 2013

      Found Quick payment under settings. Looked in Widgets and found the widget and was able to put it in the sidebar. Ok so far. But I do not want it here, I want it on a page.

    • Graham on 29 Apr 2013

      Hi Richard.

      If you just want the basic plugin the shortcode you need to add to the page or post is [qcf]. Note the square brackets. If you want to preset the ID or the amount you change the shortcode to be like the examples on the settings page. If you want some words in front of the presets use the plugin labels on the settings page.

      Hope this helps

  14. Nathan Crawford on 12 Jan 2013

    I seem to be having an issue with the text not disappearing from the boxes when you click in it. I am using the basic [qpp] form and the “Payment for” and “Amount to Pay” text boxes do not clear out when clicked in. Am I doing something wrong?

    • Graham on 13 Jan 2013

      Just checked and it works on this and another test site. Can you send me the URL so I can take a look?

  15. Elliot on 10 Jan 2013

    Hello,
    The paypal plugin is great and what I am looking for. Just a question regarding the plugin.
    Is it possible to set the payment as a personal payment owned so there are no fees taken out by paypal at all? It is most annoying for clients paying their invoices with paypal taking out their fees.
    Thanks,
    Elliot 😀

    • Graham on 10 Jan 2013

      Nothing I can do about paypal fees. All the plugin does is connect you to paypal. I can’t control how the accounts are set up or what fees are set – that’s between your clients and paypal.

      Sorry.

  16. Holger on 15 Nov 2012

    Hello,
    great plugin.

    Is it possible to add a “put me on the donator list” to the widget and add a shortcode which shows the name of the sender, the amount, the subject of the paymant and the date + time (all localized).

    Wish to have those information in a paginated widget or a lightbox opening when clicking on a link in the form widget.

    Thanks

    • Graham on 18 Nov 2012

      Not really possible to add the details to the plugin but I can code a bespoke version for you. Can’t do it for free though as it’s going to take quite a bit of work.

      How soon do you need it?

  17. Pete on 09 Nov 2012

    Please can you tell me how to change the colour of the button from black to red.

    Thanks

    • Graham on 09 Nov 2012

      Change it in the CSS. Go to the plugins page, click on the Edit and load the CSS file. The style you need to change is: #qpp-style #submit

      Update: I’ve just uploaded Version 1.2 which has now has a built-in style editor

  18. Eric on 18 Oct 2012

    Hello, I like your plugin thus far, but I have a question…
    I tried using 3 different QPP short codes on one page. They look like this: [qpp id='Silver Package' amount='$247.00']
    The other 2 qpp codes on that same page look like that also except different “package name” for ID and different money amount for ‘amount’. Problem is no matter which pay button I push… the plugin only inserts money amount from first qpp code not the appropriate amount that is in the other 2 codes. Why is this? Am I doing something wrong? Please help. Thank you.

    • Graham on 18 Oct 2012

      Eric,

      The problem is that you have three ‘send’ messages on the same page. The plugin doesn’t know which one you clicked so just processes the first one it finds. I never considered that people would want more than one on a page!

      Let me have a think about how to fix this.

    • Eric on 19 Oct 2012

      Thank you Graham. If for some reason you can not find a way possible to do it… I could always just run seperate link outs from the one page to 3 seperate product pages and instill only one send button per page. Didnt want to do that.
      But I will if you do not know of another way. Still, I want to thank you anyway for a nice, quick, clean looking and running plugin either way. 🙂

    • Graham on 19 Oct 2012

      Been scratching my head all day about this. I know what to do but not sure how to do it (I’m not a programmer).

      So it might take me a day or two to get it together. Hope you can live with it as it is for a little while longer.

    • Kevin on 07 Nov 2012

      Did you ever figure out a way to put multiple codes on one page?

      Thanks. ~ Kevin

    • Graham on 07 Nov 2012

      Sort of…

      I got it to work if you have preset the id/amount but if you have a form where the user has to input info then it all fell over. What I did was add the preset ID value to the submit field name so you had: 12345+submit. This meant the processing function would only react if the was a match between the ID and the submit value. But if there isn’t a preset ID then the function just carried on regardless and I got an error.

      But I’m still working on it. Just very slowly ‘cos I’m pretty pants at programming.

  19. Sandrine Minard on 14 Oct 2012

    Thank you for the Paypal plugin.

    • Graham on 14 Oct 2012

      Thank you for using it. Got some nice enhancements on the way

Web Analytics