Merge pull request #5132 from beganovich/v5-1503-paypal-fix
(v5) Fixed PayPal/Omnipay response logging
This commit is contained in:
commit
516a4f5055
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ class PayPalExpressPaymentDriver extends BaseDriver
|
|||
$payment = $this->createPayment($data, \App\Models\Payment::STATUS_COMPLETED);
|
||||
|
||||
SystemLogger::dispatch(
|
||||
['response' => $response, 'data' => $data],
|
||||
['response' => (array)$response->getData(), 'data' => $data],
|
||||
SystemLog::CATEGORY_GATEWAY_RESPONSE,
|
||||
SystemLog::EVENT_GATEWAY_SUCCESS,
|
||||
SystemLog::TYPE_PAYPAL,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue