Class ExternalPaymentTransactionCallbackRedirectionProperties
java.lang.Object
com.broadleafcommerce.cartoperation.properties.DiscriminatedProperties<ExternalPaymentTransactionCallbackRedirectionProperties>
com.broadleafcommerce.cartoperation.service.payment.autoconfigure.ExternalPaymentTransactionCallbackRedirectionProperties
@Validated
@ConfigurationProperties("broadleaf.cartoperation.service.checkout.external-payment-transaction.callback-redirection")
public class ExternalPaymentTransactionCallbackRedirectionProperties
extends DiscriminatedProperties<ExternalPaymentTransactionCallbackRedirectionProperties>
Properties used to define the urls used when redirecting the customer's browser from the
ExternalPaymentTransactionCallbackEndpoint to the frontend app during a payment
interaction that involved externally-executed transactions like some 3DS or HPP interactions.- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDefaultRedirectUri(String tenantId, String applicationId) getExternalPaymentInteractionUri(String tenantId, String applicationId) getPaymentFinalizedUri(String tenantId, String applicationId) getPaymentModificationUri(String tenantId, String applicationId) getStorefrontBaseUrl(String tenantId, String applicationId) voidsetDefaultRedirectUri(String defaultRedirectUri) The default uri used if apaymentFinalizedUri,paymentModificationUri, orexternalPaymentInteractionUriare not defined in the provided application & tenant context.voidsetExternalPaymentInteractionUri(String externalPaymentInteractionUri) The uri used if one or more of the cart's payments still requires an external payment interaction to execute the transaction & finalize the payment.voidsetPaymentFinalizedUri(String paymentFinalizedUri) The uri used if all of the carts payments are finalized & the cart is being finalized.voidsetPaymentModificationUri(String paymentModificationUri) The uri used if one or more of the external payment interactions failed, & the customer must provide a different form of payment.voidsetStorefrontBaseUrl(String storefrontBaseUrl) The default base url of the frontend storefront appMethods inherited from class com.broadleafcommerce.cartoperation.properties.DiscriminatedProperties
getApplication, getApplicationIdFromContext, getField, getTenant, getTenantIdFromContext, setApplication, setTenant
-
Constructor Details
-
ExternalPaymentTransactionCallbackRedirectionProperties
public ExternalPaymentTransactionCallbackRedirectionProperties()
-
-
Method Details
-
getStorefrontBaseUrl
-
getDefaultRedirectUri
-
getPaymentFinalizedUri
-
getPaymentModificationUri
-
getExternalPaymentInteractionUri
-
setStorefrontBaseUrl
The default base url of the frontend storefront app -
setDefaultRedirectUri
The default uri used if apaymentFinalizedUri,paymentModificationUri, orexternalPaymentInteractionUriare not defined in the provided application & tenant context. This uri is also used if aPaymentFinalizationStatuscannot be determined. -
setPaymentFinalizedUri
The uri used if all of the carts payments are finalized & the cart is being finalized. This typically leads to showing the customer the order confirmation page. -
setPaymentModificationUri
The uri used if one or more of the external payment interactions failed, & the customer must provide a different form of payment. This typically points to a payment modification page. -
setExternalPaymentInteractionUri
The uri used if one or more of the cart's payments still requires an external payment interaction to execute the transaction & finalize the payment. This typically leads to the customer's browser being redirected to a 3DS verification page or HPP.
-