From fbc773dbcaf57a3d2e7e966efa2e6d9d992f52b4 Mon Sep 17 00:00:00 2001 From: matst80 Date: Thu, 4 Dec 2025 10:35:23 +0100 Subject: [PATCH] more logs --- cmd/checkout/adyen-handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/checkout/adyen-handlers.go b/cmd/checkout/adyen-handlers.go index 4b17d63..1aac759 100644 --- a/cmd/checkout/adyen-handlers.go +++ b/cmd/checkout/adyen-handlers.go @@ -68,6 +68,7 @@ func (s *CheckoutPoolServer) AdyenSessionHandler(w http.ResponseWriter, r *http. func getCheckoutIdFromNotificationItem(item webhook.NotificationRequestItem) (uint64, error) { cartId, ok := cart.ParseCartId(item.MerchantReference) if !ok { + log.Printf("The notification does not have a valid cartId: %s", item.MerchantReference) return 0, errors.New("invalid cart id") } return uint64(cartId), nil