Skip to content

Commit a8f1e48

Browse files
Merge pull request #241 from silarhi/claude/add-postponed-translation-code-eqRSd
Add postponed code to ignore in translation download receipt return code
2 parents c50fffd + d3997f0 commit a8f1e48

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

src/EbicsClient.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,11 @@ private function checkH00XReturnCode(Request $request, Response $response): void
343343
return;
344344
}
345345

346+
// For Download Postprocess Skipped (postponed).
347+
if ('011001' === $errorCode) {
348+
return;
349+
}
350+
346351
$reportText = $this->responseHandler->retrieveH00XReportText($response);
347352
EbicsExceptionFactory::buildExceptionFromCode($errorCode, $reportText, $request, $response);
348353
}

src/Handlers/ResponseHandler.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,11 @@ public function checkResponseReturnCode(Request $request, Response $response): v
261261
return;
262262
}
263263

264+
// For Download Postprocess Skipped (postponed).
265+
if ('011001' === $errorCode) {
266+
return;
267+
}
268+
264269
$reportText = $this->retrieveH00XReportText($response);
265270
EbicsExceptionFactory::buildExceptionFromCode($errorCode, $reportText, $request, $response);
266271
}

0 commit comments

Comments
 (0)