Configure XML files for Payment Rules processing
Before configuring XML files, you should already know:
- The payment methods and refund methods your store will honor. Consider that:
- A payment method is typically associated with one payment configuration (for example, credit card brand X has a configuration called config001, credit card brand Y has a configuration called config002, check has a configuration called config003, and so on).
- More than one payment configuration ID can be associated with a store so that a store can use various payment method configurations.
- A given payment method can be associated with a store more than once with a different payment configuration ID (for example, credit card brand X - Gold with configuration ID configID0004 and credit card brand X - Silver with configuration ID configID0005).
- The payment configuration to which the payment and refund rules should apply.
- The payment back-end system and therefore the payment protocols you intend to use.
A set of the XML files configure to establish Payment Rules, is provided in subdirectories under the following path:
- WC_eardir/xml/config/payments/edp/groups/PaymentConfigurationID/
- WC_eardir/xml/config/payments/edp/groups/PaymentConfigurationID/
- WCDE_installdir/xml/config/payments/edp/groups/PaymentConfigurationID/
To configure the PaymentMethodConfigurations.xml file and RefundMethodConfigurations.xml file:
- Follow instructions in Configure payment methods to configure the payment methods you will use. The XML file you will configure is the PaymentMethodConfigurations.xml.
- Follow instructions in Configure refund methods to configure the refund methods you will use. The XML file you will configure is the RefundMethodConfigurations.xml.
Another XML file, PaymentRules.xml is used with the overall configuration but you are not expected to modify the PaymentRules.xml file. This is a read-only file. The PaymentRules.xml file provides a list of the payment and refund rules that are considered valid by the system and available for your use. For that reason, only one PaymentRules.xml file is used by all payment configurations.
Currently, refund rules are not configurable; only refund methods are configurable.
(C) Copyright IBM Corporation 1996, 2006. All Rights Reserved.