public interface TRCreditCardExtensionHandler extends ExtensionHandler
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
createTransparentRedirectForm(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.
|
ExtensionResultStatusType |
setFormActionKey(StringBuilder key) |
ExtensionResultStatusType |
setFormHiddenParamsKey(StringBuilder key) |
getPriority, isEnabledExtensionResultStatusType createTransparentRedirectForm(Map<String,Map<String,String>> formParameters, PaymentRequestDTO requestDTO, Map<String,String> configurationSettings) throws PaymentException
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.
formParameters - requestDTO - configurationSettings - PaymentExceptionExtensionResultStatusType setFormActionKey(StringBuilder key)
ExtensionResultStatusType setFormHiddenParamsKey(StringBuilder key)
Copyright © 2014. All Rights Reserved.