PHP 8.2 security fixes end 31 Dec 2026 PHP 8.2 fixes end 31 Dec 2026 30 days left Update for $349

Guide · 7 min read

WooCommerce security: a practical checklist

Safe updates, locked-down logins, current PHP, tested backups, protected checkout and monitoring, plus what to do if your store is hacked.

Updated 21 Nov 2026 · By the WPKoders development team

Most WooCommerce stores that get hacked aren’t targeted. They’re found by automated scans looking for an outdated plugin, a weak password or an exposed admin. The fixes are mostly habits, not expensive tools. This checklist covers what matters most, in the order we’d do it on a client’s store.

1. Keep everything updated, safely

Outdated plugins are the most common way in. Update WordPress, WooCommerce, your theme and plugins at least monthly, and security releases within days. Test updates on a staging copy first and run a test order before updating the live store. Remove plugins and themes you don’t use: deactivated code can still be attacked.

2. Lock down logins

  • Turn on two-factor authentication for every administrator and shop manager.
  • Use unique, long passwords from a password manager.
  • Give each person their own account with the lowest role that does the job. Never share the admin login.
  • Limit login attempts, and remove accounts for staff and contractors who’ve left.

3. Run on current PHP and good hosting

Old PHP versions stop receiving security fixes. Run a supported version (PHP 8.2 or later today), on hosting that isolates sites from each other, patches the server and offers a web application firewall.

4. Back up, and test the restore

Keep daily backups of files and database, stored off the server, for at least 30 days. A backup you’ve never restored is a guess: restore one to a staging site every few months to prove it works.

5. Protect checkout and customer data

  • Use a payment gateway that keeps card data off your server (hosted fields or redirect).
  • Force HTTPS everywhere, with HSTS.
  • Add spam and bot protection to registration, login and checkout to stop card-testing attacks.
  • Collect only the customer data you need, and delete old data you don’t.

6. Watch for problems

Use uptime monitoring and a malware scanner, and read the alerts. Check the list of administrator accounts monthly: an unknown admin is the clearest sign of a break-in.

If you’re hacked

  1. Put the store in maintenance mode and change every password and API key.
  2. Restore a clean backup from before the break-in, then update everything.
  3. Find how they got in (usually an outdated plugin) and close it.
  4. If customer data may be exposed, check your legal duty to notify customers and authorities.

Your monthly security checklist

  • Updates tested on staging and applied.
  • Backups running and one restore tested this quarter.
  • Admin accounts reviewed; 2FA on for all.
  • Uptime and malware alerts checked.
  • Unused plugins and themes removed.