Include closed QR events in webhook log endpoint
All checks were successful
build-and-deploy / build-deploy (push) Successful in 33s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 33s
This commit is contained in:
@@ -194,6 +194,7 @@ Access / ops notes (prod)
|
|||||||
- Service: `TrisolarisServer.service` (systemd). `systemctl cat TrisolarisServer.service`.
|
- Service: `TrisolarisServer.service` (systemd). `systemctl cat TrisolarisServer.service`.
|
||||||
- Deploy path: `/opt/deploy/TrisolarisServer` (runs `build/libs/*.jar`).
|
- Deploy path: `/opt/deploy/TrisolarisServer` (runs `build/libs/*.jar`).
|
||||||
- Active profile: `prod` (see service Environment=SPRING_PROFILES_ACTIVE=prod).
|
- Active profile: `prod` (see service Environment=SPRING_PROFILES_ACTIVE=prod).
|
||||||
- DB (prod): PostgreSQL `trisolaris` on `localhost:5432` (see `/opt/deploy/TrisolarisServer/src/main/resources/application-prod.properties`).
|
- DB (prod): PostgreSQL `trisolaris` on `localhost:5432` (see `/opt/deploy/TrisolarisServer/src/main/resources/application-prod.properties` on the server).
|
||||||
- DB (dev): PostgreSQL `trisolaris` on `192.168.1.53:5432` (see `application-dev.properties`).
|
- DB (dev): PostgreSQL `trisolaris` on `192.168.1.53:5432` (see `application-dev.properties` in the repo).
|
||||||
- DB access (server): `sudo -u postgres psql -d trisolaris`.
|
- DB access (server): `sudo -u postgres psql -d trisolaris`.
|
||||||
|
- Workflow: Always run build, commit, and push for changes unless explicitly told otherwise.
|
||||||
|
|||||||
@@ -247,7 +247,6 @@ class RazorpayQrPayments(
|
|||||||
val eventQrId = qrEntity.path("id").asText(null)
|
val eventQrId = qrEntity.path("id").asText(null)
|
||||||
if (eventQrId != qrId) continue
|
if (eventQrId != qrId) continue
|
||||||
val status = qrEntity.path("status").asText(null)
|
val status = qrEntity.path("status").asText(null)
|
||||||
if (status == "active") {
|
|
||||||
out.add(
|
out.add(
|
||||||
RazorpayQrEventResponse(
|
RazorpayQrEventResponse(
|
||||||
event = event,
|
event = event,
|
||||||
@@ -257,7 +256,6 @@ class RazorpayQrPayments(
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user