Interface TRCreditCardExtensionHandler
- All Superinterfaces:
ExtensionHandler
- All Known Implementing Classes:
AbstractTRCreditCardExtensionHandler
- Author:
- Elbert Bautista (elbertbautista)
-
Method Summary
Modifier and TypeMethodDescriptioncreateTransparentRedirectForm(Map<String, Map<String, String>> formParameters, PaymentRequestDTO requestDTO, Map<String, String> configurationSettings) The implementing modules should take into consideration the passed in configuration settings map and call their implementing TransparentRedirectService to generate either an Authorize or Authorize and Capture Form.Methods inherited from interface org.broadleafcommerce.common.extension.ExtensionHandler
getPriority, isEnabled
-
Method Details
-
createTransparentRedirectForm
ExtensionResultStatusType createTransparentRedirectForm(Map<String, Map<String, throws PaymentExceptionString>> formParameters, PaymentRequestDTO requestDTO, Map<String, String> configurationSettings) The implementing modules should take into consideration the passed in configuration settings map and call their implementing TransparentRedirectService to generate either an Authorize or Authorize and Capture Form. The decision should be based on the implementing PaymentGatewayConfiguration.isPerformAuthorizeAndCapture();
This method accepts a RequestDTO that represents the order along with a map of gateway-specific configuration settings. The hidden values and the form action will be placed on the passed in formParameters variable. The keys to that map can be retrieved by calling the following methods. getFormActionKey, getFormHiddenParamsKey.
- Parameters:
formParameters-requestDTO-configurationSettings-- Throws:
PaymentException
-
setFormActionKey
-
setFormHiddenParamsKey
-