mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for auth.net
This commit is contained in:
parent
882cf1d734
commit
6f3a1a2d06
@ -102,11 +102,11 @@ class AuthorizeCreditCard
|
|||||||
|
|
||||||
$data = (new ChargePaymentProfile($this->authorize))->chargeCustomerProfile($cgt->gateway_customer_reference, $cgt->token, $amount);
|
$data = (new ChargePaymentProfile($this->authorize))->chargeCustomerProfile($cgt->gateway_customer_reference, $cgt->token, $amount);
|
||||||
|
|
||||||
/*Refactor and push to BaseDriver*/
|
|
||||||
if ($data['response'] != null && $data['response']->getMessages()->getResultCode() == 'Ok') {
|
|
||||||
|
|
||||||
$response = $data['response'];
|
$response = $data['response'];
|
||||||
|
|
||||||
|
// if ($response != null && $response->getMessages()->getResultCode() == 'Ok') {
|
||||||
|
if ($response != null && $response->getMessages() != null) {
|
||||||
|
|
||||||
$this->storePayment($payment_hash, $data);
|
$this->storePayment($payment_hash, $data);
|
||||||
|
|
||||||
$vars = [
|
$vars = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user