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 ofTransactionFailureType
identified by their gateway response codegetMicroDepositVerificationURL
(String applicationId, String tenantId) getPaymentIntentAccessTokenSecret
(String applicationId, String tenantId) boolean
getSendCustomMandateEmail
(String applicationId, String tenantId) void
setFailureTypesByCode
(Map<String, String> failureTypesByCode) Map ofTransactionFailureType
identified by their gateway response codevoid
setMicroDepositVerificationURL
(String microDepositVerificationURL) The full URL to the custom page to verify the ACH Direct Debit payment with micro deposit.void
setPaymentIntentAccessTokenSecret
(String paymentIntentAccessTokenSecret) The secret key that is used to generate and validate the payment intent access token.void
setSendCustomMandateEmail
(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
-
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:
-
setFailureTypesByCode
Map ofTransactionFailureType
identified by their gateway response code -
getFailureTypesByCode
Map ofTransactionFailureType
identified by their gateway response code
-