PaymentMappings XML file
Configure the mapping from payment method to payment method configuration and payment actions. You can change what payment rule a payment method uses by changing the PaymentMappings XML file. The behavior of payment processing also changes; when a different payment rule is specified, the actions the system takes also change.
Note: You cannot change the payment rules associated
with refund methods because the rules are not configurable for refund
methods.
This file is located in the following directory:
- WC_eardir/xml/config/payments/edp/groups/default
- workspace_dir/wc/xml/config/payments/edp/groups/default
- Parameters
- paymentMethod
- The name of the payment method. It is defined in the POLICY table as the value of the column POLICYNAME for the Payment business policies.
- paymentConfiguration
- The payment method configuration applied to the payment method.
- paymentActionRule
- Payment rule that applies to the payment method. This file can contain multiple payment method mappings. See Payment rules provided in WebSphere Commerce.