Reference > Payments subsystem > Payment configuration files
PaymentMappings XML file
Edit PaymentMappings.xml to...
- Set the mapping from payment method to payment method configuration and payment actions.
- Set the payment rule a payment method uses.
You cannot change the payment rules associated with refund methods because the rules are not configurable for refund methods.
This file is located in...
Figure 1. Example
<?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>
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.
Configure a custom payment plug-in
AVSRules XML file
CorePaymentActions XML file
EDPGlobalConfigs XML file
PaymentMethodConfigurations XML file
RefundMethodConfigurations XML file
RefundMappings XML file
PaymentSystemPluginMapping XML file