From 33429f45ee331db24a08224955521d134928a478 Mon Sep 17 00:00:00 2001 From: gustavofg1pontes Date: Sun, 6 Oct 2024 22:28:17 -0300 Subject: [PATCH] debug --- .../tickets/infra/config/app/MercadoPagoConfiguration.java | 1 + .../event/sale/payment/persistence/PaymentJpaEntity.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/infrastructure/src/main/java/br/com/ifsp/tickets/infra/config/app/MercadoPagoConfiguration.java b/infrastructure/src/main/java/br/com/ifsp/tickets/infra/config/app/MercadoPagoConfiguration.java index b5e0a6c..41a641d 100644 --- a/infrastructure/src/main/java/br/com/ifsp/tickets/infra/config/app/MercadoPagoConfiguration.java +++ b/infrastructure/src/main/java/br/com/ifsp/tickets/infra/config/app/MercadoPagoConfiguration.java @@ -31,6 +31,7 @@ public void initialize() { @Bean public PaymentService preferenceService() { + System.out.println("AAAAAAAAAAAAAAAAAAAA: " + this.mercadoPagoAccessToken); return PaymentServiceFactory.create(ticketGateway, ticketSaleGateway, paymentGateway); } } diff --git a/infrastructure/src/main/java/br/com/ifsp/tickets/infra/contexts/event/sale/payment/persistence/PaymentJpaEntity.java b/infrastructure/src/main/java/br/com/ifsp/tickets/infra/contexts/event/sale/payment/persistence/PaymentJpaEntity.java index 1f74c28..0772b08 100644 --- a/infrastructure/src/main/java/br/com/ifsp/tickets/infra/contexts/event/sale/payment/persistence/PaymentJpaEntity.java +++ b/infrastructure/src/main/java/br/com/ifsp/tickets/infra/contexts/event/sale/payment/persistence/PaymentJpaEntity.java @@ -10,13 +10,14 @@ import lombok.Getter; import lombok.NoArgsConstructor; +import java.io.Serializable; import java.time.LocalDateTime; @Entity @Table(name = "payments") @NoArgsConstructor @Getter -public class PaymentJpaEntity { +public class PaymentJpaEntity implements Serializable { @Id @Column(name = "id", nullable = false, unique = true, updatable = false) private Long id;