PayPal Payments Shortcodes

Listed below are all the shortcodes for the Quick PayPal Payments plugin for wordpress:

[qpp] Standard paypal plugin
[qpp form='name'] Uses a named form (created on the setup page)
[qpp id="your name"] Presets the reference field to the words ‘your name’
[qpp amount="$30"] Sets the amount to pay to “$30”
[qpp labels="off"] Don’t show labels for preset fields
[qpp id="red,blue,green"] Displays options instead of a single reference/ID
[qpp amount="$3,$5,$9"] Displays a list of amounts
[qpp id="red;$3,blue;$5,green;$9"] Displays a list of items with their price. The ‘amount’ field is disabled and the plugin sorts out what is brought and for how much.
[qppreport form="name"] Displays a table of all payments made from the form called ‘name’

You can also take a look at some examples of the form with a range of different settings.

  1. jay harding said:

    Hello Sir,

    Would it be possible to have shortcode for the specific coupon code to a specific product
    together with the price like this… 3 Days Standard Delivery; $99 discount=S10, ? Thanks

    • Graham said:

      Jay,
      Like your other request, this would need some bespoke coding. Happy to do the work but I can’t do it for free.

  2. Radisson said:

    So nice and useful, thank you so much Graham

    One question : is it possible to pass a “custom” url variable ti paypal via your plugin ?

    i.e
    [qpp amount="10$" custom="name"] works or not ?

    Cf https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#id08A6HH00W2J
    for the custom variable.

    Thank you Graham

    • Graham said:

      Hi Radisson,
      Not easily. The plugin uses the custom field to send an IPN key to a paypal business or premier account. This is sent back to a listener URL for processing. If you build your own listener URL you can do do what you like with the custom variable. Adding a shortcode is the easy bit. What you do with the custom variable is more complicated.

    • Radisson said:

      thank you graham. as i don’t have an listener url and neeed to pass some informations to paypal, is there a way i can i use some field like ‘item_name’ or equivalent ?

      If not, i will clearly understand that i need a url listener
      Regards
      Dominique

    • Graham said:

      You can pass all sorts of info to PayPal. But the only thing you get back is the ‘custom’ field. And the only place you get it back is your listener URL. Note: PayPal will also pass all the data back to the IPN log but you need to extract and process this data. There is no simple way to do what you want.

    • Radisson said:

      Hi Graham, thank you for your answer, sorry to be late. Can you contact me directly on my email address ? I’d like to hire you for doing what i need, if possible.
      Regards,
      Dominique

  3. StefLBM said:

    Hello Graham,
    Thanks one more time for this great plugin.
    I had a question : is it possible to add a copy of the transactions to another mail adress ? I want to notify a friend of mine of each payment ?

    • Graham said:

      In the ‘Send Options’ put a comma between each email address and it will send the conformation to both. Glad you like the plugin – there are hundreds of hours of work hidden in there.

  4. Shaun said:

    This is a fantastic plugin and it looks as if your support is brilliant, so thank you! It was perfect for me as my client only wants to sell a couple of products and WooCommerce was overkill for that. One question though: is it possible to be able to stipulate different shipping rates depending on where the order is being shipped to? I would like to only have one form if possible. Thanks!

    • Graham said:

      Shaun,
      It’s not really an option with the current plugin but I’m sure I could build you a bespoke version with this feature. Can you email me the details.

    • Shaun said:

      Hi Graham, thanks so much for your reply.

      Let me get the shipping rates off the client and we’ll see how it looks. If you do manage to get something built, profuse thanks and a donation will follow!

      I’ll get back to you asap.

      Thanks again,
      Shaun

    • Shaun said:

      So basically, as well as the currently available functionality, the customer needs to be able to adjust costs depending on where the items are to be shipped. I think the easiest way to do it is to stipulate the product item cost including postage for the different areas, which is as follows:
      UK: £7.50 including postage
      Mainland Europe: £10.20 including postage
      Australia/New Zealand: £11.55 including postage
      Rest of the world: £11.25 including postage

      So ideally, the customer would choose from a dropdown which zone they were in, adjusting the cost accordingly. Entering the number of packages required would then update the total. If that makes sense, great! If not, let me know!

      Thanks a million,
      Shaun

    • Graham said:

      The dropdown is relatively easy to do. Updating the total to pay isn’t. It’s going to take me a while to get this coded up and I can’t do it for free. How much would the client be willing to pay?

    • Shaun said:

      Hi Graham, thanks for getting back to me – let me speak to the client and see what they say.

  5. Roberto Enrique Briceño García said:

    Hi, thanks for this really useful plugin.
    I was wondering if there’s a way to internationalize some strings like the “Amount” text on top of the drop-down: http://i.imgur.com/D88NnJt.png

    By the way, is it possible to translate the whole plugin?
    If you like, I can translate everything to Italian. 🙂

    • Graham said:

      Hi Roberto,

      Go to the Form Settings, scroll down and change ‘Label for the amount field:’

      I’m busy getting the plugin ready for translation. I’ll send it over when it’s done.

    • Roberto said:

      … no comments. Thank you infinitely.

  6. Ilan Hartstein said:

    Sorry, one more question. On the actual payment page there is a Payment types section with a logo which includes Discover and American Express (two of the cards that we do not accept). Is there a way to change this logo and is there a way that we can warn people that we do not take these cards?

    • Graham said:

      Hi Ilan,
      That’s just one of the standard PayPal logos. If you want something different do a search on Google images or get your site developer to make one up for you.

  7. Ilan said:

    On the tab that says “Billing” I have an online payment form. However, I do not know why the “Make a Payment” button is not red. I think I chose “red font” in the stylings sections but it remains an insipid grey. What am I doing wrong?

    • Graham said:

      Hi Ilan,
      That looks like there is a conflict with another plugin or your theme. The submit button shouldn’t look like that. I’ve had a quick look but can’t see where the conflict is. When I copied you form styles to my test site it worked OK. All you can do is switch off all other plugins and the theme and see what happens.

  8. Paul said:

    Graham, I must be missing something. I’m trying desperately to figure out how to UPDATE the quantity on my form and it won’t do it. For instance, if I want 3 items, shouldn’t I be able to type in “3” and see an updated total? I’ve gone through ever single setting and can’t figure out how to do this. Please help. http://www.nemopro.com/order-page/

    • Graham said:

      Hi Paul,
      I entered 3 and submitted the form and it all worked OK. If you want to display totals on the form you need to use the ‘totals’ field.

    • Paul said:

      Graham, I’m not sure you understood what I’m trying to do. Yes, if you enter 3 and SUBMIT, you will see your total … on the Paypal site. I want people to be able to see their total on our site. When I activate the “totals” field, like you suggested, nothing happens. It just says “Total: $0.00” You can go back to the site and check, as I now have it activated. I can’t figure out how to get it to actually “total” the sale! Please help.

    • Graham said:

      Paul,
      It’s a bug in the plugin. I’m busy working on a fix and will send it over once I’ve finished. Might take a day or two as it’s a bit complicated to code than I first thought.

    • paul said:

      Thanks Graham. Please inform me as soon as it’s fixed. Thanks!

    • Graham said:

      Fixed and sent.

  9. Simone said:

    hi,
    i would ask you if is possible reset form. Olso if user put the code coupon incorrect advise with a general error

    • Graham said:

      Hi Simone,
      This shouldn’t be a problem. I will send you an update to test in a day or two.

    • Graham said:

      That was easier than I thought. I’ve sent you an update to test

What do you think?



Checkout the awesome new OnePage Theme. Designed for tablets and phones but perfect on a desktop

Checking...

Ouch! There was a server error.
Retry »

Sending message...

Ask a question

Spambot blocker question

1 + 7 =

Web Analytics Web Analytics