[01:39:11.000] INFO: HTTP Server is running on port 3000
[01:40:00.000] INFO: No unpaid bookings found for auto-cancellation.
[01:45:00.000] INFO: No unpaid bookings found for auto-cancellation.
[01:50:00.000] INFO: No unpaid bookings found for auto-cancellation.
[01:55:00.000] INFO: No unpaid bookings found for auto-cancellation.
[02:00:00.000] INFO: Bookings cancelled (For Approval, past check-in): 0
[02:00:00.000] INFO: No unpaid bookings found for auto-cancellation.
[06:09:06.000] INFO: HTTP Server is running on port 3000
[06:10:00.000] INFO: No unpaid bookings found for auto-cancellation.
[06:15:00.000] INFO: No unpaid bookings found for auto-cancellation.
[06:15:00.000] INFO: Bookings set to Ongoing (check-in started, not yet checked out): 0
[06:20:00.000] INFO: No unpaid bookings found for auto-cancellation.
[06:25:00.000] INFO: No unpaid bookings found for auto-cancellation.
[06:30:00.000] INFO: Bookings set to Done (past check-out, Upcoming/Ongoing): 0
[06:30:00.000] INFO: No unpaid bookings found for auto-cancellation.
[08:07:42.000] INFO: HTTP Server is running on port 3000
[08:08:42.000] ERROR: Server Error: jwt expired{"status":500,"message":"jwt expired","stack":"TokenExpiredError: jwt expired\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/jsonwebtoken/verify.js:190:21\n    at getSecret (/home/aircamp/api-dev.aircamp.ph/node_modules/jsonwebtoken/verify.js:97:14)\n    at Object.module.exports [as verify] (/home/aircamp/api-dev.aircamp.ph/node_modules/jsonwebtoken/verify.js:101:10)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:16:30)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)","error":{"name":"TokenExpiredError","message":"jwt expired","expiredAt":"2026-06-06T02:38:40.000Z"}}
[08:08:51.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[08:08:52.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[08:08:54.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[08:08:59.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[08:09:11.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[08:09:12.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[08:09:15.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[08:09:21.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[08:10:00.000] INFO: No unpaid bookings found for auto-cancellation.
[08:10:24.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[08:15:00.000] INFO: No unpaid bookings found for auto-cancellation.
[08:15:00.000] INFO: Bookings set to Ongoing (check-in started, not yet checked out): 0
[08:20:00.000] INFO: No unpaid bookings found for auto-cancellation.
[08:25:00.000] INFO: No unpaid bookings found for auto-cancellation.
[08:30:00.000] INFO: Bookings set to Done (past check-out, Upcoming/Ongoing): 0
[08:30:00.000] INFO: No unpaid bookings found for auto-cancellation.
[08:35:00.000] INFO: No unpaid bookings found for auto-cancellation.
[08:40:00.000] INFO: No unpaid bookings found for auto-cancellation.
[08:45:00.000] INFO: No unpaid bookings found for auto-cancellation.
[08:50:00.000] INFO: No unpaid bookings found for auto-cancellation.
[08:55:00.000] INFO: No unpaid bookings found for auto-cancellation.
[09:00:00.000] INFO: No unpaid bookings found for auto-cancellation.
[09:00:00.000] INFO: Bookings cancelled (For Approval, past check-in): 0
[09:05:00.000] INFO: No unpaid bookings found for auto-cancellation.
[09:10:00.000] INFO: No unpaid bookings found for auto-cancellation.
[09:15:00.000] INFO: Bookings set to Ongoing (check-in started, not yet checked out): 0
[09:15:00.000] INFO: No unpaid bookings found for auto-cancellation.
[09:20:00.000] INFO: No unpaid bookings found for auto-cancellation.
[09:25:00.000] INFO: No unpaid bookings found for auto-cancellation.
[09:30:00.000] INFO: Bookings set to Done (past check-out, Upcoming/Ongoing): 0
[09:30:00.000] INFO: No unpaid bookings found for auto-cancellation.
[09:35:00.000] INFO: No unpaid bookings found for auto-cancellation.
[09:40:00.000] INFO: No unpaid bookings found for auto-cancellation.
[09:45:00.000] INFO: No unpaid bookings found for auto-cancellation.
[11:02:05.000] INFO: HTTP Server is running on port 3000
[19:24:14.000] INFO: HTTP Server is running on port 3000
[19:25:00.000] INFO: No unpaid bookings found for auto-cancellation.
[19:30:00.000] INFO: No unpaid bookings found for auto-cancellation.
[19:30:00.000] INFO: Bookings set to Done (past check-out, Upcoming/Ongoing): 0
[19:35:00.000] INFO: No unpaid bookings found for auto-cancellation.
[21:34:32.000] INFO: HTTP Server is running on port 3000
[21:34:32.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:35:00.000] INFO: No unpaid bookings found for auto-cancellation.
[21:36:12.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:36:14.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:36:16.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:36:20.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:38:20.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:38:21.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:38:23.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:38:27.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:39:29.000] INFO: PayMongo checkout session created: {
  "data": {
    "id": "cs_9edde4471340968c83ceb64f",
    "type": "checkout_session",
    "attributes": {
      "billing": {
        "address": {
          "city": null,
          "country": null,
          "line1": null,
          "line2": null,
          "postal_code": null,
          "state": null
        },
        "email": null,
        "name": null,
        "phone": null
      },
      "billing_information_fields_editable": "enabled",
      "cancel_url": "https://uat.aircamp.ph/reservations?status=Unpaid",
      "checkout_url": "https://checkout.paymongo.com/9edde4471340968c83ceb64f",
      "client_key": "cs_9edde4471340968c83ceb64f_client_c25d84e49d410cec63315101",
      "collection": {
        "customer_info": {
          "email": {
            "state": "auto"
          },
          "name": {
            "state": "auto"
          },
          "mobile_phone": {
            "state": "auto"
          },
          "address": {
            "state": "auto"
          }
        }
      },
      "customer_email": null,
      "customer_id": null,
      "description": "AirCamp Booking ACPH-342312 - Nick's Camp Site - Nick's Camp Site",
      "line_items": [
        {
          "amount": 2200,
          "currency": "PHP",
          "description": null,
          "images": [],
          "name": "AirCamp Booking ACPH-342312 - Nick's Camp Site - Nick's Camp Site",
          "quantity": 1
        }
      ],
      "livemode": false,
      "merchant": "Aircamp ",
      "metadata": {
        "booking_no": "ACPH-342312"
      },
      "organization_id": "org_zJnDXbyebLasmB63yeNxBYN5",
      "pass_on_fees": false,
      "payment_intent": {
        "id": "pi_tB29RZaiXJaLuTHmjWooCeAu",
        "type": "payment_intent",
        "attributes": {
          "amount": 2200,
          "capture_type": "automatic",
          "client_key": "pi_tB29RZaiXJaLuTHmjWooCeAu_client_vwQgo1Yj8QTMeRcUeRBo3Qks",
          "currency": "PHP",
          "description": "AirCamp Booking ACPH-342312 - Nick's Camp Site - Nick's Camp Site",
          "last_payment_error": null,
          "livemode": false,
          "metadata": {
            "booking_no": "ACPH-342312"
          },
          "next_action": null,
          "original_amount": 2200,
          "payment_method_allowed": [
            "card",
            "grab_pay",
            "dob",
            "gcash",
            "paymaya",
            "qrph",
            "billease"
          ],
          "payment_method_options": {
            "card": {
              "request_three_d_secure": "any"
            }
          },
          "payments": [],
          "setup_future_usage": null,
          "statement_descriptor": "Aircamp ",
          "status": "awaiting_payment_method",
          "created_at": 1780839569,
          "updated_at": 1780839569
        }
      },
      "payment_method_types": [
        "qrph",
        "card",
        "dob",
        "gcash",
        "grab_pay",
        "billease",
        "paymaya"
      ],
      "payments": [],
      "public_key": "pk_test_7n4hc82YY5Y4nvFGQS9FNr6P",
      "reference_number": null,
      "send_email_receipt": false,
      "show_description": true,
      "show_line_items": true,
      "status": "active",
      "success_url": "https://uat.aircamp.ph/booking/06c6d150-7c27-43ee-98c5-d1cd092296f2/successful-booking?referenceNo=ACPH-342312",
      "created_at": 1780839568,
      "updated_at": 1780839568
    }
  }
}
[21:39:29.000] INFO: Payment checkout created for booking ACPH-342312. URL: https://checkout.paymongo.com/9edde4471340968c83ceb64f
[21:39:51.000] INFO: trigrring hooks :
[21:39:51.000] INFO: paid :
[21:39:52.000] INFO: trigrring hooks :
[21:39:52.000] ERROR: Unhandled event type:
[21:40:00.000] INFO: No unpaid bookings found for auto-cancellation.
[21:45:00.000] INFO: No unpaid bookings found for auto-cancellation.
[21:47:34.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:47:56.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:50:00.000] INFO: No unpaid bookings found for auto-cancellation.
[21:55:00.000] INFO: No unpaid bookings found for auto-cancellation.
[21:59:23.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:59:26.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:59:37.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:59:38.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:59:41.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[21:59:45.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[22:00:00.000] INFO: No unpaid bookings found for auto-cancellation.
[22:00:00.000] INFO: Bookings cancelled (For Approval, past check-in): 1
[22:01:10.000] INFO: PayMongo checkout session created: {
  "data": {
    "id": "cs_2b9bbf552515333abd80260d",
    "type": "checkout_session",
    "attributes": {
      "billing": {
        "address": {
          "city": null,
          "country": null,
          "line1": null,
          "line2": null,
          "postal_code": null,
          "state": null
        },
        "email": null,
        "name": null,
        "phone": null
      },
      "billing_information_fields_editable": "enabled",
      "cancel_url": "https://uat.aircamp.ph/reservations?status=Unpaid",
      "checkout_url": "https://checkout.paymongo.com/2b9bbf552515333abd80260d",
      "client_key": "cs_2b9bbf552515333abd80260d_client_b679f8d6f427391bbbcd20f8",
      "collection": {
        "customer_info": {
          "email": {
            "state": "auto"
          },
          "name": {
            "state": "auto"
          },
          "mobile_phone": {
            "state": "auto"
          },
          "address": {
            "state": "auto"
          }
        }
      },
      "customer_email": null,
      "customer_id": null,
      "description": "AirCamp Booking ACPH-112805 - Nick's Camp Site - Nick's Camp Site",
      "line_items": [
        {
          "amount": 4400,
          "currency": "PHP",
          "description": null,
          "images": [],
          "name": "AirCamp Booking ACPH-112805 - Nick's Camp Site - Nick's Camp Site",
          "quantity": 1
        }
      ],
      "livemode": false,
      "merchant": "Aircamp ",
      "metadata": {
        "booking_no": "ACPH-112805"
      },
      "organization_id": "org_zJnDXbyebLasmB63yeNxBYN5",
      "pass_on_fees": false,
      "payment_intent": {
        "id": "pi_e2JLrBESx3kiJcTayjn77rZ3",
        "type": "payment_intent",
        "attributes": {
          "amount": 4400,
          "capture_type": "automatic",
          "client_key": "pi_e2JLrBESx3kiJcTayjn77rZ3_client_FsJmU2SRCLbDRhSaXASw4WFV",
          "currency": "PHP",
          "description": "AirCamp Booking ACPH-112805 - Nick's Camp Site - Nick's Camp Site",
          "last_payment_error": null,
          "livemode": false,
          "metadata": {
            "booking_no": "ACPH-112805"
          },
          "next_action": null,
          "original_amount": 4400,
          "payment_method_allowed": [
            "card",
            "qrph",
            "grab_pay",
            "gcash",
            "billease",
            "paymaya",
            "dob"
          ],
          "payment_method_options": {
            "card": {
              "request_three_d_secure": "any"
            }
          },
          "payments": [],
          "setup_future_usage": null,
          "statement_descriptor": "Aircamp ",
          "status": "awaiting_payment_method",
          "created_at": 1780840869,
          "updated_at": 1780840869
        }
      },
      "payment_method_types": [
        "qrph",
        "card",
        "dob",
        "gcash",
        "grab_pay",
        "billease",
        "paymaya"
      ],
      "payments": [],
      "public_key": "pk_test_7n4hc82YY5Y4nvFGQS9FNr6P",
      "reference_number": null,
      "send_email_receipt": false,
      "show_description": true,
      "show_line_items": true,
      "status": "active",
      "success_url": "https://uat.aircamp.ph/booking/06c6d150-7c27-43ee-98c5-d1cd092296f2/successful-booking?referenceNo=ACPH-112805",
      "created_at": 1780840869,
      "updated_at": 1780840869
    }
  }
}
[22:01:10.000] INFO: Payment checkout created for booking ACPH-112805. URL: https://checkout.paymongo.com/2b9bbf552515333abd80260d
[22:01:26.000] INFO: trigrring hooks :
[22:01:26.000] INFO: paid :
[22:01:27.000] INFO: trigrring hooks :
[22:01:27.000] ERROR: Unhandled event type:
[22:01:52.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[22:01:53.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[22:01:55.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[22:02:00.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[22:02:02.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[22:02:03.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[22:02:42.000] INFO: PayMongo checkout session created: {
  "data": {
    "id": "cs_c926ac76f2fc9051ab9c008b",
    "type": "checkout_session",
    "attributes": {
      "billing": {
        "address": {
          "city": null,
          "country": null,
          "line1": null,
          "line2": null,
          "postal_code": null,
          "state": null
        },
        "email": null,
        "name": null,
        "phone": null
      },
      "billing_information_fields_editable": "enabled",
      "cancel_url": "https://uat.aircamp.ph/reservations?status=Unpaid",
      "checkout_url": "https://checkout.paymongo.com/c926ac76f2fc9051ab9c008b",
      "client_key": "cs_c926ac76f2fc9051ab9c008b_client_7dd3ec8367fb522ee9f2d795",
      "collection": {
        "customer_info": {
          "email": {
            "state": "auto"
          },
          "name": {
            "state": "auto"
          },
          "mobile_phone": {
            "state": "auto"
          },
          "address": {
            "state": "auto"
          }
        }
      },
      "customer_email": null,
      "customer_id": null,
      "description": "AirCamp Booking ACPH-862416 - Nick's Camp Site - Nick's Camp Site",
      "line_items": [
        {
          "amount": 4400,
          "currency": "PHP",
          "description": null,
          "images": [],
          "name": "AirCamp Booking ACPH-862416 - Nick's Camp Site - Nick's Camp Site",
          "quantity": 1
        }
      ],
      "livemode": false,
      "merchant": "Aircamp ",
      "metadata": {
        "booking_no": "ACPH-862416"
      },
      "organization_id": "org_zJnDXbyebLasmB63yeNxBYN5",
      "pass_on_fees": false,
      "payment_intent": {
        "id": "pi_1QhxokffChDCLPpJc1tiUvCQ",
        "type": "payment_intent",
        "attributes": {
          "amount": 4400,
          "capture_type": "automatic",
          "client_key": "pi_1QhxokffChDCLPpJc1tiUvCQ_client_4Xovd3dLh2pTHgRqgAUwNvED",
          "currency": "PHP",
          "description": "AirCamp Booking ACPH-862416 - Nick's Camp Site - Nick's Camp Site",
          "last_payment_error": null,
          "livemode": false,
          "metadata": {
            "booking_no": "ACPH-862416"
          },
          "next_action": null,
          "original_amount": 4400,
          "payment_method_allowed": [
            "qrph",
            "dob",
            "paymaya",
            "gcash",
            "billease",
            "card",
            "grab_pay"
          ],
          "payment_method_options": {
            "card": {
              "request_three_d_secure": "any"
            }
          },
          "payments": [],
          "setup_future_usage": null,
          "statement_descriptor": "Aircamp ",
          "status": "awaiting_payment_method",
          "created_at": 1780840962,
          "updated_at": 1780840962
        }
      },
      "payment_method_types": [
        "qrph",
        "card",
        "dob",
        "gcash",
        "grab_pay",
        "billease",
        "paymaya"
      ],
      "payments": [],
      "public_key": "pk_test_7n4hc82YY5Y4nvFGQS9FNr6P",
      "reference_number": null,
      "send_email_receipt": false,
      "show_description": true,
      "show_line_items": true,
      "status": "active",
      "success_url": "https://uat.aircamp.ph/booking/06c6d150-7c27-43ee-98c5-d1cd092296f2/successful-booking?referenceNo=ACPH-862416",
      "created_at": 1780840962,
      "updated_at": 1780840962
    }
  }
}
[22:02:42.000] INFO: Payment checkout created for booking ACPH-862416. URL: https://checkout.paymongo.com/c926ac76f2fc9051ab9c008b
[22:02:58.000] INFO: trigrring hooks :
[22:02:58.000] INFO: paid :
[22:02:58.000] INFO: trigrring hooks :
[22:02:58.000] ERROR: Unhandled event type:
[22:03:13.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[22:03:14.000] ERROR: Server Error: Not authenticated{"status":401,"message":"Not authenticated","stack":"Error: Not authenticated\n    at errorHandler (/home/aircamp/api-dev.aircamp.ph/util/errorHandler.js:2:17)\n    at module.exports (/home/aircamp/api-dev.aircamp.ph/middlewares/authorization.js:12:14)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/layer.js:95:5)\n    at /home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:284:15\n    at Function.process_params (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:346:12)\n    at next (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/home/aircamp/api-dev.aircamp.ph/node_modules/express/lib/router/index.js:175:3)","error":{"statusCode":401}}
[22:05:00.000] INFO: No unpaid bookings found for auto-cancellation.
[22:10:00.000] INFO: No unpaid bookings found for auto-cancellation.
[23:10:41.000] INFO: HTTP Server is running on port 3000
[23:15:00.000] INFO: Bookings set to Ongoing (check-in started, not yet checked out): 0
[23:15:00.000] INFO: No unpaid bookings found for auto-cancellation.
[23:20:00.000] INFO: No unpaid bookings found for auto-cancellation.
[23:25:00.000] INFO: No unpaid bookings found for auto-cancellation.
[23:30:00.000] INFO: No unpaid bookings found for auto-cancellation.
[23:30:00.000] INFO: Bookings set to Done (past check-out, Upcoming/Ongoing): 0
[23:35:00.000] INFO: No unpaid bookings found for auto-cancellation.
[23:40:00.000] INFO: No unpaid bookings found for auto-cancellation.
[23:45:00.000] INFO: No unpaid bookings found for auto-cancellation.
[23:50:00.000] INFO: No unpaid bookings found for auto-cancellation.
[23:55:00.000] INFO: No unpaid bookings found for auto-cancellation.
[00:00:00.000] INFO: Bookings cancelled (For Approval, past check-in): 0
[00:00:00.000] INFO: No unpaid bookings found for auto-cancellation.
[00:05:00.000] INFO: No unpaid bookings found for auto-cancellation.
[00:10:00.000] INFO: No unpaid bookings found for auto-cancellation.
[00:15:00.000] INFO: Bookings set to Ongoing (check-in started, not yet checked out): 0
[00:15:00.000] INFO: No unpaid bookings found for auto-cancellation.
[00:20:00.000] INFO: No unpaid bookings found for auto-cancellation.
[00:25:00.000] INFO: No unpaid bookings found for auto-cancellation.
[00:30:00.000] INFO: No unpaid bookings found for auto-cancellation.
[00:30:00.000] INFO: Bookings set to Done (past check-out, Upcoming/Ongoing): 0
[00:35:00.000] INFO: No unpaid bookings found for auto-cancellation.
[00:40:00.000] INFO: No unpaid bookings found for auto-cancellation.
[00:45:00.000] INFO: No unpaid bookings found for auto-cancellation.
