mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-16 16:24:37 -04:00
Fix for auth.net autobill
This commit is contained in:
parent
c664428a81
commit
7b08355c75
@ -95,6 +95,7 @@ class AuthorizeCreditCard
|
|||||||
|
|
||||||
/*Refactor and push to BaseDriver*/
|
/*Refactor and push to BaseDriver*/
|
||||||
if ($data['response'] != null && $data['response']->getMessages()->getResultCode() == 'Ok') {
|
if ($data['response'] != null && $data['response']->getMessages()->getResultCode() == 'Ok') {
|
||||||
|
|
||||||
$this->storePayment($payment_hash, $data);
|
$this->storePayment($payment_hash, $data);
|
||||||
|
|
||||||
$vars = [
|
$vars = [
|
||||||
|
@ -104,6 +104,8 @@ class AuthorizePaymentDriver extends BaseDriver
|
|||||||
|
|
||||||
public function tokenBilling(ClientGatewayToken $cgt, PaymentHash $payment_hash)
|
public function tokenBilling(ClientGatewayToken $cgt, PaymentHash $payment_hash)
|
||||||
{
|
{
|
||||||
|
$this->setPaymentHash($payment_hash);
|
||||||
|
|
||||||
$this->setPaymentMethod($cgt->gateway_type_id);
|
$this->setPaymentMethod($cgt->gateway_type_id);
|
||||||
|
|
||||||
return $this->payment_method->tokenBilling($cgt, $payment_hash);
|
return $this->payment_method->tokenBilling($cgt, $payment_hash);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user