Skip to content

Commit

Permalink
Sanitized logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
guptakshitij2308 committed Oct 16, 2024
1 parent 5437930 commit eead765
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,11 @@ public ResponseEntity<?> processRazorCallback(@RequestParam("razorpay_order_id")

}



@PostMapping("/razorpay-webhook")
public ResponseEntity<Void> razorpayWebhook(@RequestBody(required = false) String payload) {
log.info("Razorpay Webhook received: {}", payload);
log.info("Razorpay Webhook received: {}", sanitizeForLog(payload));
return ResponseEntity.ok().build();
}

Expand Down

0 comments on commit eead765

Please sign in to comment.