Include closed QR events in webhook log endpoint
All checks were successful
build-and-deploy / build-deploy (push) Successful in 33s

This commit is contained in:
androidlover5842
2026-02-01 12:12:27 +05:30
parent cf0c38deb5
commit c74944711e
2 changed files with 10 additions and 11 deletions

View File

@@ -247,16 +247,14 @@ class RazorpayQrPayments(
val eventQrId = qrEntity.path("id").asText(null)
if (eventQrId != qrId) continue
val status = qrEntity.path("status").asText(null)
if (status == "active") {
out.add(
RazorpayQrEventResponse(
event = event,
qrId = eventQrId,
status = status,
receivedAt = log.receivedAt.toString()
)
out.add(
RazorpayQrEventResponse(
event = event,
qrId = eventQrId,
status = status,
receivedAt = log.receivedAt.toString()
)
}
)
}
return out
}