mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #6655 from turbo124/v5-develop
Fixes for auth.net token billing
This commit is contained in:
commit
7db598ccec
@ -102,10 +102,10 @@ 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*/
|
$response = $data['response'];
|
||||||
if ($data['response'] != null && $data['response']->getMessages()->getResultCode() == 'Ok') {
|
|
||||||
|
|
||||||
$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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user