diff --git a/src/main/java/alfio/manager/payment/MollieWebhookPaymentManager.java b/src/main/java/alfio/manager/payment/MollieWebhookPaymentManager.java index 3a7d8bad0..a06197b26 100644 --- a/src/main/java/alfio/manager/payment/MollieWebhookPaymentManager.java +++ b/src/main/java/alfio/manager/payment/MollieWebhookPaymentManager.java @@ -360,6 +360,9 @@ private PaymentResult initPayment(TicketReservation reservation, } } else { log.warn("was not able to create a payment for reservation id " + reservationId); + try (InputStream inputStream = response.body()) { + log.warn(new String(inputStream.readAllBytes())); + } return PaymentResult.failed(ErrorsCode.STEP_2_PAYMENT_REQUEST_CREATION); } }