mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes
This commit is contained in:
parent
78270a9147
commit
40bbad8eca
@ -98,7 +98,6 @@ class PaytracePaymentDriver extends BaseDriver
|
|||||||
|
|
||||||
$response = $this->gatewayRequest('/v1/transactions/refund/to_customer', $data);
|
$response = $this->gatewayRequest('/v1/transactions/refund/to_customer', $data);
|
||||||
|
|
||||||
|
|
||||||
if($response && $response->success)
|
if($response && $response->success)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -114,7 +113,6 @@ class PaytracePaymentDriver extends BaseDriver
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SystemLogger::dispatch(['server_response' => $response, 'data' => $data], SystemLog::CATEGORY_GATEWAY_RESPONSE, SystemLog::EVENT_GATEWAY_FAILURE, SystemLog::TYPE_PAYTRACE, $this->client, $this->client->company);
|
SystemLogger::dispatch(['server_response' => $response, 'data' => $data], SystemLog::CATEGORY_GATEWAY_RESPONSE, SystemLog::EVENT_GATEWAY_FAILURE, SystemLog::TYPE_PAYTRACE, $this->client, $this->client->company);
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
@ -19,7 +19,7 @@ class ActivatePaytracePaymentDriver extends Migration
|
|||||||
|
|
||||||
if($paytrace)
|
if($paytrace)
|
||||||
{
|
{
|
||||||
$fields = $paytrace->fields;
|
$fields = json_decode($paytrace->fields);
|
||||||
$fields->integratorId = "";
|
$fields->integratorId = "";
|
||||||
|
|
||||||
$paytrace->fields = $fields;
|
$paytrace->fields = $fields;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user