Introduced in Feature Pack 1

Configuring payment methods for the Software Express plug-in

You must configure payments methods, payment rules and payment mappings, payment settings, and refund methods.

Procedure

  1. Download the SiTefPlugin.zip, unzip it, and copy the directory SiTefPlugin to the following location:
    • WC_eardir/xml/config/payments/ppc/plugins
    • WebSphere Commerce Developerworkspace_dir/wc/xml/config/payments/plugins
  2. Open the PluginDeployment.xml in the directory SiTefPlugin, change the value of the hostAddress to the IP address of the SiTef payment gateway.
    If you've already set up the SiTef simulator, the hostAddress you specify should be the IP address of the machine where the simulator is running:
    <PluginProperty name="hostAddress" value="9.186.115.115"/>
  3. Configure payment rules and payment mappings in the PaymentSystemPluginMapping XML file, which is located in the following directory:
    • WC_eardir/xml/config/payments/ppc/plugins
    • WebSphere Commerce Developerworkspace_dir/wc/xml/config/payments/ppc/plugins
    For example:
    <PaymentSystemName name="SiTefPlugin" >
        <Mapping paymentConfigurationId="default" pluginName="SiTefPlugin" >
            <Keyword name="cc_cvc" mask ="-" plain="0" removeAfterApproval ="true"/>
            <Keyword name="cc_nameoncard" mask ="*" plain="0" removeAfterApproval ="true"/>
            <Keyword name="account" mask ="*" plain="-4" searchable="true"/>
            <Keyword name="check_routing_number" />
        </Mapping>
    </PaymentSystemName>
  4. Configure payment rules and payment mappings.
    Perform these steps in the following directory:
    • WC_eardir/xml/config/payments/edp/groups/yourGroup
    • WebSphere Commerce Developerworkspace_dir/wc/xml/config/payments/edp/groups/yourGroup
    where yourGroup is the group you want to configure the payment mapping for.
    1. Create a directory named SiTefOnline.
    2. Copy all the files under the CreditCardOffline directory to the SiTefOnline directory.
    3. Configure payment mappings in the PaymentMappings XML file. For example:
      <Mapping paymentMethod="SiTefVisa" 
           paymentConfiguration="SiTefOnline"
           paymentActionRule="Early Approval"/>
      Note: If you already have a merchant configured, use the same merchant.
    4. Configure settings in the PaymentMethodConfigurations XML file.
      For example:
      <PaymentMethodConfiguration 
          name="SiTefOnline"
          paymentSystemName="SiTefPlugin" 
          systemEditable="true"
          humanEditable="true"
          refundAllowed="true"
          minimumAmount="0"
          maximumAmount="Unbounded"
          priority="MEDIUM"
          dependentCreditRequired="true"
          partiallyConsumable="true"/>
      Note: If you already have a merchant configured for a store, use the same merchant.
    5. Configure settings in the RefundMethodConfigurations XML file.
      For example:
      <RefundMethodConfiguration 
          name="SiTefOnline" 
          paymentSystemName="SiTefPlugin" />
      Note: If you already have a merchant configured for a store, use the same merchant.
    6. Configure refund methods in the RefundMappings XML file. For example:
      <RefundMapping 
          refundMethod="SiTefVisa" 
          refundConfiguration="SiTefOnline" />