diff --git a/platform/src/main/java/com/flickmatch/platform/rest/RazorPaymentCallbackController.java b/platform/src/main/java/com/flickmatch/platform/rest/RazorPaymentCallbackController.java index d9d323c6..43a2a033 100644 --- a/platform/src/main/java/com/flickmatch/platform/rest/RazorPaymentCallbackController.java +++ b/platform/src/main/java/com/flickmatch/platform/rest/RazorPaymentCallbackController.java @@ -157,9 +157,11 @@ public ResponseEntity processRazorCallback(@RequestParam("razorpay_order_id") } + + @PostMapping("/razorpay-webhook") public ResponseEntity razorpayWebhook(@RequestBody(required = false) String payload) { - log.info("Razorpay Webhook received: {}", payload); + log.info("Razorpay Webhook received: {}", sanitizeForLog(payload)); return ResponseEntity.ok().build(); }