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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMap ofTransactionFailureTypeidentified by their gateway response codegetMicroDepositVerificationURL(String applicationId, String tenantId) getPaymentIntentAccessTokenSecret(String applicationId, String tenantId) booleangetPaymentMethodsFromStripeDashboard(String applicationId, String tenantId) booleangetSendCustomMandateEmail(String applicationId, String tenantId) voidsetFailureTypesByCode(Map<String, String> failureTypesByCode) Map ofTransactionFailureTypeidentified by their gateway response codevoidsetMicroDepositVerificationURL(String microDepositVerificationURL) The full URL to the custom page to verify the ACH Direct Debit payment with micro deposit.voidsetPaymentIntentAccessTokenSecret(String paymentIntentAccessTokenSecret) The secret key that is used to generate and validate the payment intent access token.voidsetPaymentMethodsFromStripeDashboard(boolean paymentMethodsFromStripeDashboard) Determines whether the controls should display the available payment methods retrieved from the dashboard, or use the pre-configured "card" payment method.voidsetSendCustomMandateEmail(boolean sendCustomMandateEmail) This property is responsible to enable (true) or disable (false) sending of the custom mandate confirmation email.Methods inherited from class com.broadleafcommerce.paymentgateway.properties.DiscriminatedProperties
getApplication, getField, getTenant, setApplication, setTenant
-
Constructor Details
-
StripeConfigurationProperties
public StripeConfigurationProperties()
-
-
Method Details
-
getMicroDepositVerificationURL
-
getPaymentIntentAccessTokenSecret
-
getSendCustomMandateEmail
-
getPaymentMethodsFromStripeDashboard
-
setMicroDepositVerificationURL
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 usingStripePaymentIntentEndpoint.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 -
setPaymentIntentAccessTokenSecret
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:
-
setPaymentMethodsFromStripeDashboard
public void setPaymentMethodsFromStripeDashboard(boolean paymentMethodsFromStripeDashboard) Determines whether the controls should display the available payment methods retrieved from the dashboard, or use the pre-configured "card" payment method. Note: This should match the payment method type configured in the UI. To use the "card" payment method, set `paymentMethodTypes: ['card']` in the UI configuration, or remove this setting to rely on the dashboard's configuration. -
setFailureTypesByCode
Map ofTransactionFailureTypeidentified by their gateway response code -
getFailureTypesByCode
Map ofTransactionFailureTypeidentified by their gateway response code
-