PaymentDetails::fromPayPalOrder()
Builds a record from a captured PayPal order
PaymentDetails::fromPayPalOrder(array $paypalResponse): array
Parameters
| Name | Type | Default |
|---|---|---|
$paypalResponse |
array |
- |
Return type
array
Description
PayPal reports one amount per capture. An order may hold more than one,
so their values are added up.