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: workspace_dir/wc/xml/config/payments/edp/groups/default
<?xml version="1.0" encoding="UTF-8"?>
<PaymentMappings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="com/ibm/commerce/edp/parsers/PaymentMappings.xsd">
<Mapping paymentMethod="VISA"
paymentConfiguration="CreditCardOffline"
paymentActionRule="Early Approval" />
<Mapping paymentMethod="Check" paymentConfiguration="CheckOffline"
paymentActionRule="Early Deposit" />
</PaymentMappings>
- 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 HCL Commerce.