1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Merge pull request #5132 from beganovich/v5-1503-paypal-fix

(v5) Fixed PayPal/Omnipay response logging
This commit is contained in:
Benjamin Beganović 2021-03-15 11:15:36 +01:00 committed by GitHub
commit 516a4f5055
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,