Class SamplePaymentGatewayHostedActionProcessor

java.lang.Object
org.broadleafcommerce.presentation.dialect.AbstractBroadleafAttributeModifierProcessor
org.broadleafcommerce.vendor.sample.web.processor.SamplePaymentGatewayHostedActionProcessor
All Implemented Interfaces:
org.broadleafcommerce.presentation.dialect.BroadleafAttributeModifierProcessor, org.broadleafcommerce.presentation.dialect.BroadleafProcessor

@Component("blSamplePaymentGatewayHostedActionProcessor") @ConditionalOnTemplating public class SamplePaymentGatewayHostedActionProcessor extends org.broadleafcommerce.presentation.dialect.AbstractBroadleafAttributeModifierProcessor

A Thymeleaf processor that will generate a Mock Hosted Link given a passed in PaymentRequestDTO.


 <form blc:sample_payment_hosted_action="${paymentRequestDTO}" complete_checkout="${false}" method="POST">
   
 
 
In order to use this sample processor, you will need to component scan the package "com.broadleafcommerce". This should NOT be used in production, and is meant solely for demonstration purposes only.
Author:
Elbert Bautista (elbertbautista)
  • Constructor Details

    • SamplePaymentGatewayHostedActionProcessor

      public SamplePaymentGatewayHostedActionProcessor()
  • Method Details

    • getName

      public String getName()
    • getPrecedence

      public int getPrecedence()
      Specified by:
      getPrecedence in interface org.broadleafcommerce.presentation.dialect.BroadleafProcessor
      Overrides:
      getPrecedence in class org.broadleafcommerce.presentation.dialect.AbstractBroadleafAttributeModifierProcessor
    • getModifiedAttributes

      public org.broadleafcommerce.presentation.model.BroadleafAttributeModifier getModifiedAttributes(String tagName, Map<String,String> tagAttributes, String attributeName, String attributeValue, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context)