Find every image, script, stylesheet and font on the checkout pages that loads over plain http, and load it over https or remove it. Then check each payment page in Internet Explorer 8, Chrome and Firefox.

A question at the worst moment

A shopper fills a cart, enters an address and reaches the payment page. Before the card form appears, Internet Explorer asks whether to show only the webpage content that was delivered securely.

The shopper reads it twice. Yes hides something, and No shows everything, including whatever was not secure. Neither answer explains why a shop's checkout is asking.

On a newer browser the same page loads without a question, but a shield appears in the address bar, and part of the page, a badge or a box, is missing.

The address still begins with https. To the shop, the checkout is secure; to the browser, only part of it is.

Secure address, insecure parts

The https at the start of the address covers the page itself. Every image, script, stylesheet and font the page pulls in makes its own trip, at its own address.

If any of those addresses starts with plain http, that file travels unprotected. Someone on the same network, such as the public wireless in a coffee shop, could read it or alter it on the way.

An altered image is a nuisance. An altered script can rewrite the page, including the card form, which is why browsers treat insecure scripts far more seriously than insecure pictures.

What each browser does

Internet Explorer 8, still common on office computers running Windows XP, stops and asks its question before showing the page.

Internet Explorer 9 and 10 show the secure parts first, with a bar at the bottom of the window offering to show all content.

Current versions of Chrome and Firefox block insecure scripts without asking and mark the address bar. Insecure images still load, but the padlock changes or disappears.

The usual culprits

A badge meant to reassure shoppers can be the very file that sets off the warning, because it went in before anyone thought about secure pages.

The checkout usually shares its header and footer with the rest of the site, so anything added there for the home page lands on the payment pages too.

Finding every insecure file

Open each payment page and view its source. Search it for addresses that begin with plain http, and note every file the page loads that way.

The browser's developer console finds the rest. In Chrome and Firefox it lists each insecure or blocked file by its full address, including files that other files call in.

Check every page in the path, not just the last one: the cart, the sign-in, the address, the payment and the confirmation.

A worked example

A custom patch maker in Squamish sells embroidered patches to teams, clubs and companies, with an online form for artwork, sizes and quantities, and a checkout on its own site.

A few customers ordering from work emailed to ask whether the site was safe. Their office computers ran Internet Explorer 8, and each had met the question about secure content at the payment step.

The console showed three culprits: the logo, linked by its full http address in the header; a secure checkout badge whose code still used the http version; and a font loaded from a plain address.

The logo and font addresses were changed to https, and the badge was replaced with the secure version of its code. A tracking script from an old campaign came off the payment pages altogether.

With every file on those pages arriving over the same protected connection, the browsers have nothing left to flag, and no question interrupts a customer with a card in hand.

Fixing the addresses

Many services offer the same file over https. Change the link to that version, or write it without the http part so it follows whatever connection the page itself uses.

If a service has no secure version, copy the file to your own server where its terms allow, or take it off the payment pages. A missing badge does less harm than a warning.

Check the template's settings as well. Some systems store the site's own address with http and attach it to every image they insert.

Why shoppers stop at the prompt

The warning comes from the browser, not the shop, at the moment a stranger is about to type a card number.

It does not say whether the insecure part is a logo or the card form. Faced with that uncertainty on a payment page, leaving is the cautious choice, and a careful shopper makes it.

Those who stay have to answer a question about security they were never meant to see. Either answer leaves them less sure of the shop than they were a minute earlier.

Keeping the pages clean

Insecure files return whenever someone pastes new code into the template: a badge from a new payment option, a script for a holiday campaign, a widget from a supplier.

Make sure whoever adds code to the site knows the rule for secure pages, and check the payment path again after every such change.

The counter-case

Some shops send customers to the payment processor's own page to enter card details. The card form then sits on the processor's page, and its security is the processor's work.

The warning can still appear there if the processor's page shows your logo from your server over plain http. And the cart, sign-in and address pages remain yours.

However the card is taken, every page that asks a shopper for anything should load all its parts securely.

Cleaning up the payment pages

  1. List every page from the cart to the confirmation.
  2. Open each one with the browser's console showing.
  3. Note every file that loads over plain http.
  4. Switch each address to https, or host the file yourself.
  5. Remove what cannot be secured from those pages.
  6. Test in Internet Explorer 8 on an older office computer.
  7. Check again after any new badge, script or campaign.

Step six shows what an office buyer sees. Newer browsers flag the problem with a small icon rather than a question, so a checkout that looks fine on your computer can still stop customers at work.

For custom products, the other question at checkout is when the order will arrive, which made-to-order products and the date shoppers assume takes up.


Frequently asked questions

Why does an https checkout show a security warning?

Some file on the page, often a logo, badge, font or script, loads over plain http. The browser treats the page as only partly protected and warns or blocks that file.

What does the Internet Explorer question mean?

It asks whether to show only the parts of the page delivered securely. Yes hides the insecure parts and No shows them, but either way the shopper has been warned.

Which insecure files matter most?

Scripts, because a script can change the whole page, including the card form. Newer browsers block insecure scripts outright, while insecure images usually load with a weaker padlock.

How do I find every insecure file?

View each payment page's source and search for plain http addresses, then open the browser's developer console, which lists every insecure or blocked file in full.

What if a badge has no secure version?

Host a copy on your own server if its terms allow, or remove it from the payment pages. A missing badge does less harm than a security warning.

Does a hosted payment page avoid the problem?

Partly. The card form then belongs to the processor, but your cart, sign-in and address pages still need every file loaded securely, and so does any logo the processor shows.

West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.

Shoppers seeing a warning at checkout?

Send us your checkout's address, and we will list every file loading insecurely and fix the ones in your template.

Start a Conversation