> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vortexiq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Payment Errors Spike Alert, PrestaShop

> Payment Errors Spike Alert for PrestaShop stores, tracked live in Vortex IQ Nerve Centre. What it counts, why it matters, and how to act on it.

**Card class:** 🦸 Hero  \*  **Category:** Nerve Centre  \*  **Chart:** `alert_list`

## At a glance

> Velocity of orders landing in current\_state = 8 (payment error) - first signal of a broken gateway / checkout config.

|                      |                                                                                                                        |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| **What it measures** | Velocity of orders landing in current\_state = 8 (payment error) - first signal of a broken gateway / checkout config. |
| **Format**           | `number`                                                                                                               |
| **Time window**      | `RT`                                                                                                                   |
| **Alert trigger**    | `>5 orders entered state 8 in last 1h OR rate >2sigma vs 7D baseline`, driven by `sentiment_key: payment_error_rate`   |
| **Sensitivity band** | lower is better - good at/below 1, bad at/above 5                                                                      |
| **Roles**            | owner, finance, operations                                                                                             |
| **Data type**        | Real-time                                                                                                              |

## Calculation

```
Velocity of orders landing in current_state = 8 (payment error) - first signal of a broken gateway / checkout config.
```

PrestaShop order classification uses the order-state machine: paid = `current_state` in (2 Payment accepted, 3 Processing, 4 Shipped, 5 Delivered, 9 Backorder paid, 11 Remote payment accepted); shipped/fulfilled = (4, 5); refunded = (7, 15); cancelled = (6); payment error = (8). Read live from the PrestaShop Webservice API and snapshotted nightly into the Nerve Centre KPI store.

## Why it matters

Payment Errors Spike Alert is part of the PrestaShop executive pulse in Vortex IQ Nerve Centre. Vortex Mind investigates automatically when this card breaches its sensitivity band, and Ask Viq can explain the movement in plain English with a citation back to this card.
