1
0
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:
= 2022-05-02 08:10:12 +10:00
parent 90e60fb8fc
commit b0ae010e42

View File

@ -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) {