We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d2c142 commit c21e258Copy full SHA for c21e258
src/Client.php
@@ -103,7 +103,7 @@ public function client(): ClientInterface
103
104
$body = json_decode($body, true) ?? [];
105
106
- if (! empty($body['errorCodes'] ?? [])) {
+ if (empty($body['redirectUrl'] ?? '') && ! empty($body['errorCodes'] ?? [])) {
107
throw new ApiException(
108
'SimplePay error.',
109
(int) $body['errorCodes'][0] ?? 999,
0 commit comments