mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01: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);
|
||||
|
||||
|
||||
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);
|
||||
|
||||
return [
|
||||
|
@ -19,7 +19,7 @@ class ActivatePaytracePaymentDriver extends Migration
|
||||
|
||||
if($paytrace)
|
||||
{
|
||||
$fields = $paytrace->fields;
|
||||
$fields = json_decode($paytrace->fields);
|
||||
$fields->integratorId = "";
|
||||
|
||||
$paytrace->fields = $fields;
|
||||
|
Loading…
Reference in New Issue
Block a user