← All docs

Install the WordPress plugin

The magesentinel-monitor plugin gives a WooCommerce store a health page and email alerts with no account, and connects the store to MageSentinel when you paste a token.

Updated

Requirements

WordPress 6.0 or later, PHP 7.4 or later and an active WooCommerce, version 7.0 or later. The plugin supports WooCommerce’s High-Performance Order Storage. On WordPress.org it is listed as MageSentinel – Checkout Monitoring for WooCommerce.

Install from WordPress.org

  1. Find it. In the WordPress admin go to Plugins › Add New Plugin (Add New on older versions) and search for MageSentinel.
  2. Install and activate. Press Install Now on MageSentinel – Checkout Monitoring for WooCommerce, then Activate.
  3. Open it. A MageSentinel menu appears in the admin, with Overview and Settings.

You can also download the zip from WordPress.org and upload it under Plugins › Add New Plugin › Upload Plugin. On a paid plan or trial, the store’s page in MageSentinel offers the plugin as a zip too, under Download the plugin.

What works without an account

Nothing to set up and no token. These run on your site and send nothing to MageSentinel, except the free test purchase when you press its button:

FeatureWhat it does
Health pageMageSentinel › Overview checks what quietly stops orders: no payment method enabled or one left in test mode, cart or checkout page unset or unpublished, maintenance mode, failed payments, fatal errors, Action Scheduler and more. Each row links to the screen that fixes it.
Email alertsThe same checks run every 15 minutes in WP-Cron. When one turns red you get one email, and another when it is fixed. On by default, sent to the site admin address through your site’s own mail.
Weekly summaryEvery Monday: last week’s orders, revenue, average order and failed payments against the week before. Off until you switch it on.
Free test purchaseOnce a month, Free test purchase has MageSentinel walk your checkout like a shopper up to the last click before paying, without placing an order, and emails you the result.
Site HealthThe checkout check also appears under Tools › Site Health.

Change the address under MageSentinel › Settings › Send alerts to, or switch the emails off with Email me when something stops orders. WP-Cron runs when the site gets visits, so on a quiet site the checks run less often unless a server cron calls wp-cron.php.

Connect to MageSentinel

The connector is off by default. With it on, MageSentinel can read store health at each check (WordPress, WooCommerce and PHP versions, active plugins, enabled payment and shipping methods, order counts) and confirm the test order a check placed. It never reads customer names, addresses, emails or payment details. The connector needs a paid plan or the 14-day trial.

  1. Generate a token. In MageSentinel, open the store. In the How this store is watched card, press Generate on the Store connector row (the same control is in the Connector section of the store’s Edit page). Copy the token: it is shown once.
  2. Open the plugin settings. In WordPress go to MageSentinel › Settings, card Connection to MageSentinel.
  3. Switch it on. Turn on Enable the connector.
  4. Paste the token. Paste it into Access token and press Save changes. The plugin keeps only a SHA-256 hash of the token, so the field stays empty afterwards and shows Set.

The Test orders card below holds three more switches, all off by default:

SettingWhat it allows
Cancel MageSentinel’s test orders automaticallyChecks may cancel the orders they placed: from a magesentinel+ address, under an hour old and unpaid. Never deleted, never anything else.
Let MageSentinel’s checks past your CAPTCHARequests that carry this store’s token skip the CAPTCHA. Every visitor still gets it. Works with CAPTCHA 4WP, reCAPTCHA for WooCommerce, hCaptcha for WP and Simple Cloudflare Turnstile.
Test orders through a hidden payment methodFor stores that take only cards or PayPal. Only the checks see a payment method that takes no money; the order is cancelled within 30 minutes with stock restored and never shows in your order list.

WooCommerce does not send its order emails (new, cancelled and failed order, customer emails) for MageSentinel’s test orders. Once MageSentinel is connected and checking in, it sends your alerts, so the plugin’s own alert emails pause. They resume on their own if MageSentinel stops checking in for three hours.

Check that it works

The Connection to MageSentinel card shows where the connector stands:

ShownMeaning
Not connectedThe connector is off, or no token is set.
Waiting for the first checkReady, but MageSentinel has not called yet. Run a check from the dashboard.
Monitored by MageSentinelMageSentinel read the store in the last three hours.
No recent checksThe last call is older than three hours: the monitor may be paused or the token rotated.
Free plan: connector inactiveThe workspace is on the Free plan, which runs without the connector.

In MageSentinel, press Run now on the store’s checkout monitor. When the run finishes, the store’s header shows connector on, and a What the connector sees card lists the WooCommerce, WordPress and PHP versions. connector token only means a token exists but the store did not answer.

From a shell:

bash
curl -i -H "X-MageSentinel-Token: YOUR_TOKEN" \
  https://your-store.example.com/wp-json/magesentinel/v1/diagnostics

A JSON body means it works. 403 means the connector is switched off; 401 means the token does not match.

Updates

Updates arrive like any plugin from WordPress.org: on Dashboard › Updates, on the Plugins screen, or automatically if you turn on auto-updates for it. An update keeps your settings and the token, so the connection survives it.

On a connected store, updating WooCommerce, the active theme or a plugin that matters to checkout schedules a MageSentinel check about two minutes later, at most once every 15 minutes. The run shows Update on the store.

Disconnect or uninstall

To disconnect, switch off Enable the connector and save: the plugin’s connector endpoints refuse every request from then on. To end it from the MageSentinel side, press Revoke on the store’s Store connector row; Generate issues a new token if you reconnect later.

Deactivating the plugin stops its checks and emails. Deleting it from the Plugins screen also removes its settings, its stored data and its scheduled tasks. Monitoring of the storefront keeps running without the plugin.

More docs

  • How checkout monitoring works: MageSentinel drives a real browser through product, cart, checkout, shipping and payment on your Magento or WooCommerce store, then asserts the business result.
  • Failure codes: Each MageSentinel failure has one stable code: STORE, PRODUCT, CART, CHECKOUT, SHIPPING, TAX, PAYMENT, ORDER, NETWORK or INTERNAL. Never a raw exception.
  • What UNKNOWN means: MageSentinel never forces an unclear run into PASS or FAIL. UNKNOWN is a first-class outcome for runs that reached no conclusive point, and it never pages.
  • Evidence and redaction: A failing MageSentinel run keeps a full-page screenshot, a redacted network log, console errors and Web Vitals. Secrets are stripped as evidence is written.
  • Scheduling and alerts: MageSentinel runs the checkout check from once a day on Free to every 5 minutes on Scale and alerts once per PASS/FAIL change, not on every failing check.
  • REST API reference: The MageSentinel REST API: authenticate with an API key, list stores, monitors, runs and incidents, and start a checkout check from CI after a deploy.
  • Install the Magento 2 module: Install magesentinel/module-monitor with Composer, paste the connector token in Stores › Configuration › MageSentinel and check that the connection works.
  • Webhooks: What a MageSentinel alert webhook sends: one JSON POST per failure, recovery or checkout-method notice, every field, the 10-second timeout and how to secure it.