Class PaymentPatternProperties
java.lang.Object
com.broadleafcommerce.cartoperation.service.payment.autoconfigure.PaymentPatternProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Iftrue
, then the Broadleaf ecosystem will be configured to use the legacy pattern for handling 3DS & HPP interactions where the frontend is responsible for handling the callback redirection & possible resubmission of checkout for the cart.void
setLegacyExternalPaymentPatternEnabled
(boolean legacyExternalPaymentPatternEnabled) Iftrue
, then the Broadleaf ecosystem will be configured to use the legacy pattern for handling 3DS & HPP interactions where the frontend is responsible for handling the callback redirection & possible resubmission of checkout for the cart.
-
Constructor Details
-
PaymentPatternProperties
public PaymentPatternProperties()
-
-
Method Details
-
isLegacyExternalPaymentPatternEnabled
public boolean isLegacyExternalPaymentPatternEnabled()Iftrue
, then the Broadleaf ecosystem will be configured to use the legacy pattern for handling 3DS & HPP interactions where the frontend is responsible for handling the callback redirection & possible resubmission of checkout for the cart. Throughout this process, the cart remains in theDefaultCartStatuses.IN_PROCESS
status. By default, this legacy pattern is NOT enabled. Therefore, the cart is placed into theDefaultCartStatuses.AWAITING_PAYMENT_FINALIZATION
status, theExternalPaymentTransactionCallbackEndpoint
is responsible for handling the payment gateway's callback redirection, & cart finalization is triggered via theExternalPaymentTransactionCallbackEndpoint
orExternalPaymentTransactionResultListener
. -
setLegacyExternalPaymentPatternEnabled
public void setLegacyExternalPaymentPatternEnabled(boolean legacyExternalPaymentPatternEnabled) Iftrue
, then the Broadleaf ecosystem will be configured to use the legacy pattern for handling 3DS & HPP interactions where the frontend is responsible for handling the callback redirection & possible resubmission of checkout for the cart. Throughout this process, the cart remains in theDefaultCartStatuses.IN_PROCESS
status. By default, this legacy pattern is NOT enabled. Therefore, the cart is placed into theDefaultCartStatuses.AWAITING_PAYMENT_FINALIZATION
status, theExternalPaymentTransactionCallbackEndpoint
is responsible for handling the payment gateway's callback redirection, & cart finalization is triggered via theExternalPaymentTransactionCallbackEndpoint
orExternalPaymentTransactionResultListener
.
-