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
- Download the SiTefPlugin.zip, unzip it, and copy the directory
SiTefPlugin to the following location:
- WC_eardir/xml/config/payments/ppc/plugins
- workspace_dir/wc/xml/config/payments/plugins
- 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"/>
- 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
- workspace_dir/wc/xml/config/payments/ppc/plugins
<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>
- Configure payment rules and payment mappings.Perform these steps in the following directory:
- WC_eardir/xml/config/payments/edp/groups/yourGroup
- workspace_dir/wc/xml/config/payments/edp/groups/yourGroup
- Create a directory named SiTefOnline.
- Copy all the files under the CreditCardOffline directory to the SiTefOnline directory.
- 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. - 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. - 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. - Configure refund methods in the RefundMappings
XML file. For example:
<RefundMapping refundMethod="SiTefVisa" refundConfiguration="SiTefOnline" />