Fixes for types in Authorize
This commit is contained in:
parent
90e60fb8fc
commit
b0ae010e42
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue