Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Payment page mixed content warning: how to find and fix it

CNV-215Medium impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

Mixed content happens when a page is delivered over secure https:// but pulls in some of its parts (images, scripts, stylesheets, fonts or iframes) over plain http://. The page is then only partly secure.

Browsers treat two kinds differently. Passive content, such as images, is often loaded but marks the page as not fully secure. Active content, such as scripts, stylesheets and iframes, is usually blocked outright, because an attacker could change it on the way and take over the page.

On a payment page this matters most. A blocked script can mean a card field that never appears, a button that does nothing, or a tracking tag that never fires.

Why it costs you leads or sales

People are cautious when they type card details. A missing padlock or a 'Not secure' label on the payment step makes some of them leave. If the browser blocks a script, the damage is worse: the form may fail without any visible error.

It can also hide in your data. A blocked analytics or ad tag on the payment or thank-you page means purchases are not reported, so your ad platforms optimise on incomplete numbers.

Where mixed content breaks the purchase
  1. CartLoads normally over https
  2. Payment pageLoads an http:// script or frame
  3. Card form / Pay buttonBlocked or flagged as not secure
  4. Purchase trackedNo order, no conversion hit

A blocked http:// script on the payment page stops the steps after it.

Payment step completionExample numbers
Payment step completion (example)Clean https page: 62 %; Image warning only: 55 %; Blocked payment script: 8 %0244862558Clean https pageImage warning onlyBlocked payment script%

Example: illustrative numbers showing how a warning or blocked form could reduce shoppers who finish payment.

How to check if your site has it

Find insecure requests on the payment page
  1. Open the payment page in Chrome

    Add a product to the cart and go to the payment step. Check the address bar for 'Not secure' or a crossed-out padlock.

  2. Open DevTools

    Press F12 (or Cmd+Option+I on Mac) and open the Console tab. Reload the page. Mixed content messages start with 'Mixed Content: The page at ... was loaded over HTTPS, but requested an insecure ...'.

  3. List the offending URLs

    Each message names the exact http:// URL. Note which file it is and where it comes from (your theme, a plugin, an app or a pasted snippet).

  4. Check the Security panel

    In DevTools, open the Security tab (or the Issues tab in newer Chrome) to see a summary of insecure resources.

  5. Search the source

    View page source and search for http://. Ignore harmless links in plain text, and look at src=, href= on stylesheets, and action= on forms.

How to fix it

The fix is always the same idea: load every resource over https://. Where you change it depends on where the URL lives.

Fix by platform
  1. Set both URLs to https

    Go to Settings > General and make sure WordPress Address and Site Address both start with https://.

  2. Update old content URLs

    Use a search-and-replace tool (a plugin such as Better Search Replace, or WP-CLI) to change http://yourdomain.com to https://yourdomain.com in the database. Take a backup first.

  3. Check theme and plugin settings

    Look in your theme options, page builder and WooCommerce extensions for hard-coded http:// logos, fonts or scripts.

Before and afterhtml
<!-- Before: blocked on an https page -->
<script src="http://cdn.example.com/checkout.js"></script>

<!-- After -->
<script src="https://cdn.example.com/checkout.js"></script>
Safety net: ask browsers to upgrade insecure requestshtml
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
Payment page before and after

With mixed content

  • Console shows Mixed Content errors
  • Padlock missing or 'Not secure' label
  • Payment script or iframe blocked
  • Purchase tag may not fire

All https

  • Console is free of mixed content messages
  • Padlock shows as secure
  • Card form and Pay button load
  • Purchase tag fires on the thank-you page

How to confirm it's fixed

Confirmation checklist
  • Reload the payment page in a private window and see no mixed content messages in the Console
  • The address bar shows the secure padlock
  • The card form, wallet buttons and Pay button all load
  • Check the Network tab: no request URL starts with http://
  • Test on mobile as well as desktop
  • Complete a test order (test mode) and confirm the purchase tag fires

How to prevent it happening again

Prevention habits
  • Always paste https:// URLs into themes, apps and tag managers
  • Check the payment page after installing or updating a plugin, app or theme
  • Review the Console after every change to checkout code
  • Redirect all http:// traffic to https:// on the server
  • Keep the safety-net upgrade-insecure-requests header, but still fix the source
  • Run an automated check on the payment page on a schedule

How FunnelGuard handles this

FunnelGuard detects this issue today. It runs a robot visitor through your real customer journey on a schedule, including the payment page, and runs a no_mixed_content check that looks for resources loaded over insecure http:// on that secure page.

If the check fails, it is re-checked from a second region before one alert goes out by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. Test traffic is marked (utm_source=funnelguard, fg_test=1), and it stops before payment unless your store's test mode is set up. The Free plan covers 1 site and 2 journeys with daily checks, no card needed.

A blocked file breaks the payment page

The secure page requests an insecure file and the browser blocks it.

Questions people ask

What does a mixed content warning on my payment page mean?

It means the page loads over https:// but some images, scripts, styles or frames load over http://. Browsers may mark the page not fully secure or block those files. On a payment page, a blocked script can break the card form.

Why is my checkout page showing 'Not secure'?

The most common cause is a resource loaded over http:// on an https page, such as an old image or script URL. Open the browser Console and look for 'Mixed Content' messages, which name the exact URL to change.

How do I find mixed content on my website?

Open the page in Chrome, press F12 and reload with the Console tab open. Each mixed content message lists the insecure URL. You can also search the page source for http:// in src and href attributes.

Does mixed content stop customers from paying?

It can. Browsers block active content like scripts and iframes, so a payment script or card frame loaded over http:// may never appear. Image-only issues usually just trigger a warning.

How do I fix mixed content in WordPress?

Set both the WordPress Address and Site Address to https:// in Settings > General. Then replace old http:// URLs in the database with a search-and-replace tool, after taking a backup, and check theme and plugin settings.

Is upgrade-insecure-requests enough to fix mixed content?

Not always. It asks the browser to request the https:// version of each file, which only works if that version exists. Fix the source URLs so the problem is solved for good.

Can mixed content affect my conversion tracking?

Yes. If a tracking script or pixel on the payment or thank-you page is loaded over http://, the browser may block it, so purchases are not reported to your analytics or ad platforms.

Can FunnelGuard tell me if my payment page has mixed content?

Yes. FunnelGuard runs a no_mixed_content check on the payment page as part of its scheduled journey checks, and alerts you with a screenshot and a likely cause if it finds insecure resources.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: no_mixed_content.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.