How to Update Gravity Forms on Multiple sites with InfiniteWP

I use the FREE InfiniteWP to update WordPress core and plugins across about 40 of my own and client’s websites. It’s a real time saver. It works perfectly with plugins hosted in the WordPress repository but I use a few commercial plugins not hosted there and it can’t update these. Gravity Forms for example is one I use across nearly all my sites and that can’t be updated automatically with InfiniteWP. They have assured me that they are working on a fix to allow auto updating of Gravity Forms but for now here’s a workaround suggested by InfiniteWP:

Login to your InfiniteWP admin and click “Plugins & Themes” under “Manage” top left. Then select “Install” and pick some sites to install the new/updated plugin into.

You can choose to install a plugin from the following sources:

  • WordPress Repository
  • Your Computer
  • Remote URL

I chose My Computer because Gravity Forms is hosted in a private account with login so I just logged in, downloaded the latest version and used that file.

There are further options you can tick including: Activate plugin after install” and “Overwrite if plugins already exist” which you’ll probably want to select if you’re updating an existing plugin.

Once you upload the file you can hit “Install Plugin”.

infinitewp

Leon

Take Secure Credit Card Payments on your WordPress Website

I’ve been able to take Credit Card/Visa payments via Paypal for a while now and more recently via Stripe in conjunction with my invoicing system Zoho but over the last week or so I’ve properly and fully implemented credit card payments on this WordPress based website. On my payment page below you’ll notice a full credit card payment system that processes your payment immediately on this site. The payment page also has a an SSL cert for increased security.

ReverbStudios.ie/Payments

What you’ll need to achieve the same is:

* Stripe requires an SSL cert/Secure payment page to work.

So my Stripe Payment page takes credit card details, processes them on submission and returns the user to a thank you page. Both Gravity forms and Stripe can be configured to send an acknowledgement email/receipt to the user and site owner.

No more paying a pile of money to bank merchant or credit card processing companies!

Here’s some details on Stripe transaction fees.

I can help install the system on your own WordPress based website if you need. A standalone Payment Page/Virtual Terminal like mine here can also be installed on any non WordPress based site also..

Get in touch. Or alternatively ask a question in the comments below.

Leon

WordPress Gravity Forms Plugin Case Study

The WordPress Gravity Forms plugin for constructing complex forms easily on WordPress based sites has been my forms plugin of choice for a few years now ever since I graduated from the clunky and under-powered Contact Forms 7. The value of Gravity forms was highlighted to me on a recent job when I had to rebuild an existing old site with WordPress. The only catch on an otherwise straightforward project was that the client needed to keep his elaborate Quote form.

This quote form basically asked the website visitor for the number of windows in their premises and the dimensions of each one before supplying a quote live on the form page and for 3 different styles of shutter! It also gave quotes for optional extras for each style… Finally the visitor had the choice of emailing the whole quote to themselves. A lot of dynamic field creation based on user choices and some live calculating to be done too. Lots to do!!

I knew the power of Gravity Forms and was kinda confident but it turned out to be a big job that needed all of the plugins power and some revisiting of maths formulas from my school days! I also needed to contact Gravity Forms support for advice and as usual they were quick and helpful. Kudos to Rob there.

Here’s what I needed to do:

Inches to Millimeters Conversion

My client needed dimensions in (mm) so the form needed to provide a way for visitors to easily convert their inch measurements if that’s all they had. I added a converter which was simply a ‘number’ field which allowed inputting of inches then another corresponding number field that automatically calculated the (mm) as below. I also added a Radio field above this that asked whether people needed help converting or not and if they did, only then would the converter show. This was made possible by Gravity Forms’ excellent ‘Conditional Logic’ function:

conversion

Number of Windows

The visitor can pick their amount of windows from a drop down list. That’s the easy bit. But this form had to then dynamically create both Width & Height fields for whatever number they chose. I achieved this using a pile of number fields and some more Conditional Logic. Basically, show 3 width & height number fields if the number of windows chosen is greater than 2, etc.. Here’s an example:

window-number

The Main Quote

After gathering all the window dimensions, it’s time to provide the total of the quote, live on the page. For this I used a Gravity Form Product Pricing field with Field Type = ‘Calculation’ which basically takes all the window dimensions and multiplies them together then ads each window area then divides by 10, multiplies by a pricing unit and divides the whole lot by 100 to get the quote in euros! Same process for the other style windows. See below and take special note of the length of that Formula box:

total

Extras Calculation

There were some extras offered on the main quote above. I done that by adding another Pricing field and doing something similar to the above. It takes the total from above and multiplies it by a percentage pricing unit to give the additional extra amount.

Email Quote

This was the final and easiest bit. Back to simple form functions and asking for basic visitor details, ie – name, email etc so that the quote details could be sent to the visitor’s email address.

Notifications

Normally I don’t bother formatting the Gravity Form notification emails. The default ‘All Fields’ option is usually adequate but this lengthy form required a bit of attention to detail. Both the visitor and client needed to get the quote results in a tidy email they could easily refer to and understand and the default notification options just didn’t cut it. See below for the visitor’s notification format I came up with using headings and merge fields:

notification

The final live Quote Form is available to view here for anyone interested in seeing it in action:

www.Shutters.ie

Leon

Add a Surcharge Field to Gravity Forms to Cover Paypal Fees

Paypal remains probably the handiest way to pay for and get paid for products and services but having just done my taxes for last year, I can see that the fees I had to pay for accepting Paypal payments from clients are getting pretty significant. I’ve decided to ask people if they’d like to pay these fees or not rather than forcing it on them and I’m only asking for 50% of the fees to be paid considering both seller and buyer are benefiting from using Paypal. Fair?

The first couple of things that need to be said are these:

  1. Paypal may not like people adding surcharges to cover their fees. In fact it’s probably against their policy. I don’t know why because they would make more money.
  2. People paying for services and products may not like to see extra fees added on checkout.

Nevertheless! Here’s how to add a field that automatically calculates Paypal fees for a customer entered amount.

You’ll need a developer licence for Gravity Forms Wordpress forms plugin for this so you can grab their Paypal Add-on. A developer licence is well worth it for this excellent forms plugin. They have some other great add-ons too. See my review.

Step 1

Add a new gravity form with whatever basic informational fields you want the customer to fill out, typically Name, Phone, Email & Item just so you’ll know who’s paid and for what.

Step 2

Add 2 “Product” fields from the “Pricing Fields” menu, the first of which should be configured to take a user defined price as below. It can also be a set price as opposed to user defined:

The second Product field is the tricky one. Some maths skills are needed! This field needs to be configured as a Calculation from the “Field Type” drop down menu. In the “Formula” field I inserted the “Payment Amount” merge tag from the first Product field above. Then I added the rest of the formula to calculate the % fee as below. You’ll need to visit the Paypal Fees web page to see the exact fees in your country and for the monthly incoming Paypal volume you have personally. For me it’s 3.4% + 0.35 cents. Also remember that I’m dividing by 2 here because I’m only asking for clients to pay 50% of the fees. You can leave that out if you’re not as generous as me. Here’s the formula and setup screen:

(  ( {Payment Amount (Euros):11} * 3.4 / 100 ) +0.35 ) /2

Step 3

Add a “Total” pricing field at the end too just so people can transparently see how the fees were added.

Step 4 (Optional)

In my form, I’ve also added a “Radio Buttons” field from the Standard Fields menu which I’m using to ask the client whether they want to bother paying any of the fees or not. I don’t want to force extra payments on anyone but the addition of this field will help sort the nice clients from the not so nice ones maybe!? With this field added, you need to go into the advanced settings of the second “Surcharge” pricing field and turn on “Enable Conditional Logic” to only show the surcharge field if people have chosen “Yes” to paying the fees. See below:

Here’s a link to my form so you can see how it all comes together:

ReverbStudios.ie.Payments

Leon

 

Gravity Forms WordPress Form Plugin Review

You’ll always need some kind of contact or conversion Form on your site and since I use WordPress a lot both for clients sites and my own, I’m always on the lookout for good Form plugins. I prefer to stick with free plugins for the most part. There are tons of excellent and free wordpress plugins to do almost anything you wish including some good free form plugins such as Contact Form 7 and Cforms but there comes a time when you need to fork out a little to get that extra bit of functionality, quality and support.

I’ve been using Gravity Forms for quite a while now and for me it stands apart from the rest. It’s a very reasonably priced ($39 at time of writing) commercial WordPress Forms Plugin with an incredible feature list including:

Standout Features:

  • Simple drag and drop form creation,
  • Accept WordPress Posts/Articles via form submissions,
  • Conditional Fields that change following fields based on previous input,
  • Limit the number of form submissions, eg First 20 competition submissions only,
  • View and respond to generated querys from within WordPress admin,
  • Calculation Fields,
  • Excellent Addons including Paypal, MailChimp and User Registration.

Other Features:

  • Easy embedding into posts and pages,
  • Multiple field types,
  • Advanced Address fields,
  • Advanced Auto-responders with form field integration,
  • Quick bulk population of predefined lists, drop downs, etc,
  • Upload images and files,
  • reCaptcha anti-spam,
  • HTML content fields,
  • Import/Export/Backup forms,
  • Export form data to CSV,
  • Notification Email formatting,
  • Notification to different email addresses based on submission rules,
  • Valid HTML form code,
  • Dynamic field pre-population,
  • Schedule a begining and end date during which your form will appear,
  • New form submission notifications in the WordPress dashboard,
  • Present category list for post submissions,
  • Choose status of submitted posts,
  • Pass form data to a confirmation page for integration with 3rd parties,
  • Use supplied hooks to integrate with other WordPress plugins.

Check it out at GravityForms.com

Leon