mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-11 15:34:21 -04:00
Fixes for token billing with PayTrace
This commit is contained in:
parent
9e7f269a0e
commit
1f757cf9e3
@ -177,6 +177,7 @@ class CreditCard
|
|||||||
'customer_id' => $token,
|
'customer_id' => $token,
|
||||||
'integrator_id' => $this->paytrace->company_gateway->getConfigField('integratorId'),
|
'integrator_id' => $this->paytrace->company_gateway->getConfigField('integratorId'),
|
||||||
'amount' => $request->input('amount_with_fee'),
|
'amount' => $request->input('amount_with_fee'),
|
||||||
|
'invoice_id' => $this->harvestInvoiceId(),
|
||||||
];
|
];
|
||||||
|
|
||||||
$response = $this->paytrace->gatewayRequest('/v1/transactions/sale/by_customer', $data);
|
$response = $this->paytrace->gatewayRequest('/v1/transactions/sale/by_customer', $data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user