Respuesta 200 a webhook de Toku

This commit is contained in:
Juan Pablo Vial
2025-05-15 16:05:03 -04:00
parent 331d004040
commit 9e0d604d79

View File

@ -49,7 +49,7 @@ class Toku extends Controller
$input = json_decode($body->getContents(), true); $input = json_decode($body->getContents(), true);
try { try {
if ($tokuService->successEvent($input)) { if ($tokuService->successEvent($input)) {
return $responseFactory->createResponse(204); return $responseFactory->createResponse(200);
} }
return $responseFactory->createResponse(409, 'Payment could not be updated'); return $responseFactory->createResponse(409, 'Payment could not be updated');
} catch (InvalidResult $exception) { } catch (InvalidResult $exception) {