Class StripeConfigurationProperties

java.lang.Object
com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties<StripeConfigurationProperties>
com.broadleafcommerce.payment.service.gateway.autoconfigure.StripeConfigurationProperties

@ConfigurationProperties("broadleaf.stripe") public class StripeConfigurationProperties extends com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties<StripeConfigurationProperties>
  • Constructor Details

    • StripeConfigurationProperties

      public StripeConfigurationProperties()
  • Method Details

    • getMicroDepositVerificationURL

      @Nullable public String getMicroDepositVerificationURL(@Nullable String applicationId, @Nullable String tenantId)
    • getPaymentIntentAccessTokenSecret

      @Nullable public String getPaymentIntentAccessTokenSecret(@Nullable String applicationId, @Nullable String tenantId)
    • getSendCustomMandateEmail

      public boolean getSendCustomMandateEmail(@Nullable String applicationId, @Nullable String tenantId)
    • setMicroDepositVerificationURL

      public void setMicroDepositVerificationURL(String microDepositVerificationURL)
      The full URL to the custom page to verify the ACH Direct Debit payment with micro deposit. If specified, it will be used instead of the Stripe-hosted page. By default, the PaymentIntent ID and access token will be added as a parameter to this URL - "{microDepositVerificationURL}?paymentIntentId={id}&accessToken={token}". This id should be used to retrieve the PaymentIntent client secret using StripePaymentIntentEndpoint.getPaymentIntentInfo(java.lang.String, java.lang.String, com.broadleafcommerce.data.tracking.core.context.ContextInfo) API. Then this client secret should be used to take action against the PaymentIntent on the client side.

      If this URL is defined, it is required to add paymentIntentAccessTokenSecret

      See Also:
    • setPaymentIntentAccessTokenSecret

      public void setPaymentIntentAccessTokenSecret(String paymentIntentAccessTokenSecret)
      The secret key that is used to generate and validate the payment intent access token.
      See Also:
    • setSendCustomMandateEmail

      public void setSendCustomMandateEmail(boolean sendCustomMandateEmail)
      This property is responsible to enable (true) or disable (false) sending of the custom mandate confirmation email.
      See Also:
    • setFailureTypesByCode

      public void setFailureTypesByCode(Map<String,String> failureTypesByCode)
      Map of TransactionFailureType identified by their gateway response code
    • getFailureTypesByCode

      public Map<String,String> getFailureTypesByCode()
      Map of TransactionFailureType identified by their gateway response code