Interface TRCreditCardExtensionHandler

All Superinterfaces:
ExtensionHandler
All Known Implementing Classes:
AbstractTRCreditCardExtensionHandler

public interface TRCreditCardExtensionHandler extends ExtensionHandler
Author:
Elbert Bautista (elbertbautista)
  • Method Details

    • createTransparentRedirectForm

      ExtensionResultStatusType 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.

      Parameters:
      formParameters -
      requestDTO -
      configurationSettings -
      Throws:
      PaymentException
    • setFormActionKey

    • setFormHiddenParamsKey

      ExtensionResultStatusType setFormHiddenParamsKey(StringBuilder key)