Merx::filterOrderData()
Removes the fields Merx sets itself from client submitted order data
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.