---
title: Scores Not Updating
description: "If customer trust scores aren't updating after orders, refunds, or other relevant events, the problem is almost always in the asynchronous score recalculation pipeline. This page walks through diagnosis from observable symptom to root cause and fix. --- ## What…"
url: "https://webstepper.io/docs/trustlens/troubleshooting/scores-not-updating/"
updated: "2026-10-18"
category: Troubleshooting
---

# Scores Not Updating

If customer trust scores aren't updating after orders, refunds, or other relevant events, the problem is almost always in the asynchronous score recalculation pipeline. This page walks through diagnosis from observable symptom to root cause and fix.

---

## What "Not Updating" Looks Like

- A refund happens but the customer's score doesn't change
- The signal breakdown on the customer profile is stale
- The Dashboard's high-risk list doesn't reflect recent events
- Recalculate (or bulk Recalculate Score) runs but customers still show old scores

---

## Step 1: Verify the Event Was Recorded

First confirm the underlying event reached TrustLens:

1. Open the customer's detail page
2. Check Recent activity (the 20 most recent events)
3. Look for the expected event (refund / coupon / dispute)

If the event isn't in Recent activity, the issue is upstream — the WooCommerce hook didn't fire or the module didn't observe it. Skip to the relevant section below.

If the event is in the timeline but the score didn't update, the issue is in the recalculation pipeline. Continue with Step 2.

---

## Step 2: Check Action Scheduler

Score recalculations after orders, refunds and disputes queue as Action Scheduler jobs, usually set to run about a minute later (a queued job for the same customer is replaced rather than duplicated). The Recalculate button and the bulk Recalculate Score action run immediately instead. To verify:

1. Go to **WooCommerce → Status → Scheduled Actions**
2. Filter by hook: `trustlens/calculate_score`
3. Look at the most recent entries

Possible states:

| State | Meaning |
| --- | --- |
| Complete | Healthy — the action ran successfully. If score didn't update, the issue is in the calculation, not the queue. |
| Pending | Queued but not yet run. Wait 1–2 minutes; if still pending, Action Scheduler isn't processing. |
| Failed | The action errored. Click to see the error. |
| (Not present) | The event didn't queue a recalculation. The hook integration is broken. |

---

## Step 3: Pending Forever — WP-Cron Issue

If actions show Pending but never run, WP-Cron isn't firing. Common causes:

### WP-Cron Disabled in wp-config.php

Check wp-config.php for: `define('DISABLE_WP_CRON', true);`

If present, you need a real cron job hitting wp-cron.php — many production sites disable WP-Cron and rely on system cron. To verify your system cron is configured correctly:

- SSH to the server
- Run `crontab -l`
- Look for an entry like `* * * * * curl -s https://yoursite.com/wp-cron.php?doing_wp_cron`
- If missing, add one

### Host-Level Rate Limiting

Some shared hosts rate-limit WP-Cron requests. Solutions:

- Contact host to whitelist cron processing
- Move to a more cron-friendly host
- Use external cron-as-a-service (cronless.com, EasyCron, etc.)

### Server-Level Issue

If PHP processes are being killed (memory limits, timeouts), WP-Cron tasks may start but not complete. Check the WordPress debug log for fatal errors.

---

## Step 4: Failed Actions

If recalculation actions are failing:

1. Click a failed action in the Scheduled Actions list
2. Read the error message
3. Common errors:
   - **Memory exhaustion:** Raise PHP memory limit to 256MB+
   - **Database connection timeout:** Hosting issue; contact host
   - **Class not found:** Plugin conflict or corrupted install — reinstall
   - **Database column missing:** Schema not upgraded — deactivate and reactivate plugin to trigger schema upgrade

---

## Step 5: Score Calculation Succeeds But Result Is Wrong

If the recalculation completes (Action Scheduler shows Complete) but the resulting score is unexpected:

1. Open the customer's profile
2. Look at the signal breakdown
3. Manually add up the signals — does the math match the displayed score?

Possible causes:

- **Allowlist active:** Score is locked at 100. Check the allowlist flag.
- **Below the Full-confidence Order Threshold** (Settings → General, default 3 orders): only return risk (weighted for the small sample), linked accounts and the account-age bonus count; the other modules wait. The signals show "Limited local history (x/3 orders)." Check total_orders.
- **Custom filter modifying the score:** A custom `trustlens/trust_score` filter could be overriding. Disable other TrustLens-related plugins temporarily and recalculate.
- **Module disabled:** An expected signal isn't firing because the module is off. Check Settings → Detection.

---

## Step 6: Refund Events Not Recording

If refunds aren't appearing in the timeline:

1. Check whether the refund was created via the standard WooCommerce admin refund flow (recommended) or via the gateway directly
2. For Stripe/WooPayments refunds initiated from the gateway dashboard: the webhook should fire, but verify it's reaching WooCommerce
3. If the refund was created via custom code: the standard WooCommerce hook (`woocommerce_order_refunded`) must fire — verify your custom code creates refunds through WooCommerce (`wc_create_refund()`)

---

## Step 7: Coupon Events Not Recording

If coupon applications aren't in the timeline:

1. Verify the coupon was actually applied (visible on the order)
2. Check the Coupon Abuse module is enabled (Settings → Detection)
3. Coupons are recorded when an order is placed through the classic or block checkout — orders created in the admin or through the REST API don't record coupon usage live (Historical Sync picks them up)
4. Test with a default WooCommerce checkout — some checkout-replacing plugins skip WooCommerce's standard checkout hooks

---

## Step 8: Dispute Events Not Recording

If chargeback events aren't recording:

1. Verify Stripe/WooPayments webhook delivery is working (see [Stripe Webhook Issues](/docs/trustlens/troubleshooting/stripe-webhook-issues/))
2. For manual entries: confirm the dispute was saved — open the order; the chargeback box on the order screen shows the recorded dispute

---

## Step 9: Force Recalculation

If you've fixed the underlying issue and want to update existing customer scores:

1. Open Customers list
2. Filter to the affected cohort and select all rows on the page (bulk actions work one page — 20 customers — at a time)
3. Bulk Action: Recalculate Score
4. The scores update immediately; repeat on the next pages

Or per customer: click the Recalculate button on the customer detail page.

---

## Step 10: Nuclear Option — Clear and Re-Sync

If scores are persistently wrong and you suspect data corruption:

1. Back up your database
2. Optionally, remove the affected customers' TrustLens data with the Customers list's **Delete** bulk action (there's no one-click "delete all data" button)
3. Run Historical Sync again from **Settings → Data → Start Historical Sync**
4. Keep the page open until it completes

This rebuilds each customer's stats from their WooCommerce orders and refunds. Takes time but produces a clean slate.

---

## Preventive Practices

- Verify Action Scheduler is healthy weekly (Scheduled Actions queue should drain)
- Monitor server cron / WP-Cron health
- Keep WordPress, WooCommerce, and TrustLens up to date
- Test scoring after major store changes (gateway migrations, theme changes, plugin updates)
