mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Paytrace cleanup
This commit is contained in:
parent
962ea9cc69
commit
603fa858e1
@ -156,7 +156,6 @@ class CreditCard
|
||||
'zip' => $this->paytrace->client->postal_code,
|
||||
];
|
||||
|
||||
nlog($data);
|
||||
}
|
||||
|
||||
public function paymentView($data)
|
||||
|
@ -89,15 +89,11 @@ class PaytracePaymentDriver extends BaseDriver
|
||||
|
||||
public function refund(Payment $payment, $amount, $return_client_response = false)
|
||||
{
|
||||
// $cgt = ClientGatewayToken::where('company_gateway_id', $payment->company_gateway_id)
|
||||
// ->where('gateway_type_id', $payment->gateway_type_id)
|
||||
// ->first();
|
||||
|
||||
$data = [
|
||||
'amount' => $amount,
|
||||
//'customer_id' => $cgt->token,
|
||||
'transaction_id' => $payment->transaction_reference,
|
||||
'integrator_id' => '959195xd1CuC',
|
||||
'integrator_id' => $this->company_gateway->getConfigField('integratorId'),
|
||||
];
|
||||
|
||||
$response = $this->gatewayRequest('/v1/transactions/refund/for_transaction', $data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user