PaymentDetails::create()
Builds a record, dropping everything which is not an allowed key
PaymentDetails::create(array $data): array
Parameters
| Name | Type | Default |
|---|---|---|
$data |
array |
- |
Return type
array
Description
Use this in a custom payment gateway instead of storing the provider’s
response as it is.