diff --git a/src/main/java/io/craftgate/request/InitCheckoutPaymentRequest.java b/src/main/java/io/craftgate/request/InitCheckoutPaymentRequest.java index ffa5eb9..5dd4823 100644 --- a/src/main/java/io/craftgate/request/InitCheckoutPaymentRequest.java +++ b/src/main/java/io/craftgate/request/InitCheckoutPaymentRequest.java @@ -47,6 +47,7 @@ public class InitCheckoutPaymentRequest { protected boolean forceThreeDS; protected boolean forceAuthForNonCreditCards; protected boolean depositPayment; + protected boolean guestCheckout; protected Long ttl; protected List customInstallments; protected List items; diff --git a/src/test/java/io/craftgate/sample/PaymentSample.java b/src/test/java/io/craftgate/sample/PaymentSample.java index ccf6683..9f95c00 100644 --- a/src/test/java/io/craftgate/sample/PaymentSample.java +++ b/src/test/java/io/craftgate/sample/PaymentSample.java @@ -801,6 +801,7 @@ void init_checkout_payment() { .conversationId("456d1297-908e-4bd6-a13b-4be31a6e47d5") .paymentGroup(PaymentGroup.LISTING_OR_SUBSCRIPTION) .paymentPhase(PaymentPhase.AUTH) + .guestCheckout(false) .items(items) .build();