diff --git a/authorisation-adjustment-example/src/main/java/com/adyen/checkout/api/WebhookController.java b/authorisation-adjustment-example/src/main/java/com/adyen/checkout/api/WebhookController.java index e28098d..89e9025 100644 --- a/authorisation-adjustment-example/src/main/java/com/adyen/checkout/api/WebhookController.java +++ b/authorisation-adjustment-example/src/main/java/com/adyen/checkout/api/WebhookController.java @@ -48,7 +48,7 @@ public WebhookController(ApplicationProperty applicationProperty) { * @return */ @PostMapping("/webhooks/notifications") - public ResponseEntity webhooks(@RequestBody String json) throws IOException, RuntimeException, SignatureException, Exception { + public ResponseEntity webhooks(@RequestBody String json) throws Exception { // from JSON string to object var notificationRequest = NotificationRequest.fromJson(json); @@ -161,4 +161,4 @@ private void savePayment(NotificationRequestItem notification) { public HMACValidator getHmacValidator() { return new HMACValidator(); } -} \ No newline at end of file +}