Skip to content

Commit c21e258

Browse files
committed
wip
1 parent 8d2c142 commit c21e258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function client(): ClientInterface
103103

104104
$body = json_decode($body, true) ?? [];
105105

106-
if (! empty($body['errorCodes'] ?? [])) {
106+
if (empty($body['redirectUrl'] ?? '') && ! empty($body['errorCodes'] ?? [])) {
107107
throw new ApiException(
108108
'SimplePay error.',
109109
(int) $body['errorCodes'][0] ?? 999,

0 commit comments

Comments
 (0)