Configuring the Paymentech plug-in
The Paymentech plug-in allows the Payment plug-in controller to communicate directly with the Paymentech gateway using the plug-in.
About this task
Procedure
- Follow the directions provided by Paymentech to set up network connection between HCL Commerce and the Paymentech gateway.
- Configure a merchant for the store.
- Schedule Paymentech jobs.
-
Configure payment methods in the PaymentMethodConfigurations
XML file.
For example:
<PaymentMethodConfiguration name="CreditCardOnline" paymentSystemName="Paymentech" systemEditable="true" humanEditable="true" refundAllowed="true" minimumAmount="0" maximumAmount="Unbounded" priority="MEDIUM" partiallyConsumable="true"/>
-
Configure payment rules and payment mappings in the PaymentMappings XML
file.
For example:
<Mapping paymentMethod="VISA" paymentConfiguration="CreditCardOnline" paymentActionRule="Early Approval"/>
-
Configure settings in the RefundMethodConfigurations
XML file.
For example:
<RefundMethodConfiguration name="CreditCardOnline" paymentSystemName="Paymentech" />
-
Configure refund methods in the RefundMappings
XML file. For example:
<RefundMapping refundMethod="VISA" refundConfiguration="CreditCardOnline"/>
-
Configure the PaymentSystemPluginMapping XML file
to specify Paymentech.
For example:
<PaymentSystemName name="Paymentech" > <Mapping paymentConfigurationId="default" pluginName="PaymentechPlugin" > <!-- ==================================================================================================== Optional: <name> The name of the plug-in property that should be used in transactions for this particular payment method. A plug-in can require additional parameters, or a payment configuration can have unique needs. <value> The value of the named plug-in property. ==================================================================================================== --> <Property name="SupportsOnlineTransaction" value="yes"/> <Keyword name="cc_cvc" mask ="-" plain="0" removeAfterApproval ="true"/> <Keyword name="cc_nameoncard" mask ="*" plain="0" removeAfterApproval ="true"/> <Keyword name="account" mask ="*" plain="-5" searchable="true"/> </Mapping> </PaymentSystemName>
-
Set Paymentech parameters.
-
Create a partial ZIP file that contains the changed files using the same structure as the EAR
file. For example:
- xml/config/payments/edp/groups/default/PaymentMappings.xml
- xml/config/payments/edp/groups/default/PaymentMethodConfigurations.xml
- xml/config/payments/edp/groups/default/RefundMappings.xml
- xml/config/payments/edp/groups/default/RefundMethodConfigurations.xml
- xml/config/payments/ppc/plugins/PaymentSystemPluginMapping.xml
- xml/config/payments/edp/groups/default/PaymentMethodConfigurations.xml
- xml/config/payments/ppc/plugins/PaymentechPlugin/PluginDeployment.xml