mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 16:31:33 +02:00
Fixes for types in Authorize
This commit is contained in:
parent
90e60fb8fc
commit
b0ae010e42
@ -253,7 +253,7 @@ class AuthorizeCreditCard
|
||||
$response = $data['response'];
|
||||
$amount = array_key_exists('amount_with_fee', $data) ? $data['amount_with_fee'] : 0;
|
||||
|
||||
$code = "Error";
|
||||
$code = 1;
|
||||
$description = "There was an error processing the payment";
|
||||
|
||||
if ($response && $response->getErrors() != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user