Class PaymentTransactionFailureException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.broadleafcommerce.cartoperation.exception.PaymentTransactionFailureException
All Implemented Interfaces:
Serializable

public class PaymentTransactionFailureException extends RuntimeException
Exception thrown if there was an issue while attempting to execute a payment transaction for one of the cart's PaymentSummaries.
Author:
Chris Kittrell (ckittrell)
See Also:
  • Constructor Details

  • Method Details

    • requires3DSVerification

      public boolean requires3DSVerification()
      Whether the transaction failed because of a required 3DS check
      Returns:
      Whether the transaction failed because of a required 3DS check
    • requiresExternalInteraction

      public boolean requiresExternalInteraction()
      Whether the transaction failed because of a required external details check
      Returns:
      Whether the transaction failed because of a required external details check
    • requiresHostedPaymentPageInteraction

      public boolean requiresHostedPaymentPageInteraction()
      Whether the transaction failed because of a required hosted payment page interaction
      Returns:
      Whether the transaction failed because of a required hosted payment page interaction
    • getCart

      public com.broadleafcommerce.cart.client.domain.Cart getCart()
    • getCheckoutProcessDto

      public CheckoutProcessDto getCheckoutProcessDto()
      The CheckoutProcessDto for the checkout request.
      Returns:
      The CheckoutProcessDto for the checkout request.
    • getPaymentTransactionFailureDetails

      public List<PaymentTransactionFailureDetail> getPaymentTransactionFailureDetails()
      A collection of PaymentTransactionFailureDetails describing how the transaction(s) failed.
      Returns:
      A collection of PaymentTransactionFailureDetails describing how the transaction(s) failed.