Update PaymentMethod.php

Update to use systemlog const

Signed-off-by: Kendall Arneaud <kendall.arneaud@gmail.com>
This commit is contained in:
Kendall Arneaud 2024-07-27 12:02:59 -04:00 committed by GitHub
parent a2e2abb93c
commit dece823c54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -180,7 +180,7 @@ class PaymentMethod implements MethodInterface
[ 'data' => $data ], [ 'data' => $data ],
SystemLog::CATEGORY_GATEWAY_RESPONSE, SystemLog::CATEGORY_GATEWAY_RESPONSE,
SystemLog::EVENT_GATEWAY_SUCCESS, SystemLog::EVENT_GATEWAY_SUCCESS,
880, SystemLog::TYPE_ROTESSA,
$this->rotessa->client, $this->rotessa->client,
$this->rotessa->client->company, $this->rotessa->client->company,
); );
@ -203,7 +203,7 @@ class PaymentMethod implements MethodInterface
$exception->getMessage(), $exception->getMessage(),
SystemLog::CATEGORY_GATEWAY_RESPONSE, SystemLog::CATEGORY_GATEWAY_RESPONSE,
SystemLog::EVENT_GATEWAY_FAILURE, SystemLog::EVENT_GATEWAY_FAILURE,
880, SystemLog::TYPE_ROTESSA,
$this->rotessa->client, $this->rotessa->client,
$this->rotessa->client->company, $this->rotessa->client->company,
); );