Skip to content

Commit 2ecd2d3

Browse files
committed
Set error http response code when occurs error in notify action.
Without this change PayU never resends notifications.
1 parent 37a37f7 commit 2ecd2d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Action/NotifyAction.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function execute($request): void
9393
}
9494
}
9595
} catch (OpenPayU_Exception $e) {
96-
throw new HttpResponse($e->getMessage());
96+
throw new HttpResponse($e->getMessage(), 500);
9797
}
9898
}
9999
}

0 commit comments

Comments
 (0)