mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 02:34:35 -04:00
Authorize.net: Update amount with fee
This commit is contained in:
parent
5a8dfd85eb
commit
24d76e98f0
@ -75,7 +75,7 @@ class AuthorizeCreditCard
|
||||
$client_gateway_token = $authorise_payment_method->createClientGatewayToken($payment_profile, $gateway_customer_reference);
|
||||
}
|
||||
|
||||
$data = (new ChargePaymentProfile($this->authorize))->chargeCustomerProfile($gateway_customer_reference, $payment_profile_id, $data['amount_with_fee']);
|
||||
$data = (new ChargePaymentProfile($this->authorize))->chargeCustomerProfile($gateway_customer_reference, $payment_profile_id, $data['total']['amount_with_fee']);
|
||||
|
||||
return $this->handleResponse($data, $request);
|
||||
}
|
||||
@ -106,13 +106,13 @@ class AuthorizeCreditCard
|
||||
// $payment_record['transaction_reference'] = $response->getTransactionResponse()->getTransId();
|
||||
|
||||
// $this->authorize->createPayment($payment_record);
|
||||
|
||||
|
||||
$this->storePayment($payment_hash, $data);
|
||||
|
||||
|
||||
// $payment = $this->createPaymentRecord($data, $amount);
|
||||
// $payment->meta = $cgt->meta;
|
||||
// $payment->save();
|
||||
|
||||
|
||||
// $payment_hash->payment_id = $payment->id;
|
||||
// $payment_hash->save();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user