diff --git a/src/Action/NotifyAction.php b/src/Action/NotifyAction.php index 6686a30..5c65bfb 100644 --- a/src/Action/NotifyAction.php +++ b/src/Action/NotifyAction.php @@ -93,7 +93,7 @@ public function execute($request): void } } } catch (OpenPayU_Exception $e) { - throw new HttpResponse($e->getMessage()); + throw new HttpResponse($e->getMessage(), 500); } } }