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

use ->getData()

This commit is contained in:
Benjamin Beganović 2021-03-15 11:14:09 +01:00
parent b07eedb755
commit 4918423124

View File

@ -136,7 +136,7 @@ class PayPalExpressPaymentDriver extends BaseDriver
$payment = $this->createPayment($data, \App\Models\Payment::STATUS_COMPLETED);
SystemLogger::dispatch(
['response' => [], 'data' => $data],
['response' => (array)$response->getData(), 'data' => $data],
SystemLog::CATEGORY_GATEWAY_RESPONSE,
SystemLog::EVENT_GATEWAY_SUCCESS,
SystemLog::TYPE_PAYPAL,