diff --git a/infrastructure/src/main/java/br/com/ifsp/tickets/infra/api/controllers/PaymentController.java b/infrastructure/src/main/java/br/com/ifsp/tickets/infra/api/controllers/PaymentController.java index 2dc3b6d..c20d1be 100644 --- a/infrastructure/src/main/java/br/com/ifsp/tickets/infra/api/controllers/PaymentController.java +++ b/infrastructure/src/main/java/br/com/ifsp/tickets/infra/api/controllers/PaymentController.java @@ -37,6 +37,7 @@ public ResponseEntity createPreference(String id) { @Override public ResponseEntity paymentWebhook(CreatePaymentRequest request) { PaymentOutput p = paymentService.getPayment(request.data().id()); + System.out.println("AAAAAAAAAAAAAAAAAAA" + p.externalReference()); CheckPaymentInput checkPaymentInput = new CheckPaymentInput(p.externalReference(), p.status()); ticketService.changePaymentStatus(checkPaymentInput);