Fix for auth.net autobill

This commit is contained in:
David Bomba 2021-01-26 20:11:29 +11:00
parent 7d7005e013
commit e4ae78cd41

View File

@ -87,7 +87,7 @@ class AuthorizeCreditCard
return $this->handleResponse($data, $request);
}
private function tokenBilling($cgt, $payment_hash)
public function tokenBilling($cgt, $payment_hash)
{
$amount = array_sum(array_column($payment_hash->invoices(), 'amount')) + $payment_hash->fee_total;