Skip to content

Commit

Permalink
Update eway.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter authored Dec 31, 2023
1 parent 3d46f29 commit 2aa9d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/catalog/model/extension/payment/eway.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public function sendCurl(string $url, array $data, bool $is_post = true): ?objec
$response = new \stdClass();

if ($info['http_code'] == 401 || $info['http_code'] == 404 || $info['http_code'] == 403) {
$response->Errors = "Please check the API Key and Password";
$response->Errors = 'Please check the API Key and Password';
} else {
$response->Errors = 'Error connecting to eWAY: ' . $info['http_code'];
}
Expand Down

0 comments on commit 2aa9d9c

Please sign in to comment.