# Merx::filterOrderData()

> Removes the fields Merx sets itself from client submitted order data

- Source: `src/Merx.php#L326` <https://github.com/wagnerwagner/merx/blob/2.0.0-alpha.11/src/Merx.php#L326>

```php
Merx::filterOrderData(array $data): array
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$data` | `array` | `–` |

## Return type

`array`

## Description

Kirby stores content keys in lower case, so `datePaid`, `DatePaid`
and `datepaid` all address the same field and all have to be removed.

## Parent class

`Wagnerwagner\Merx\Merx`
