Reference > Payments subsystem > Payment configuration files


PaymentMappings XML file

Overview

Edit PaymentMappings.xml to...

  1. Set the mapping from payment method to payment method configuration and payment actions.
  2. 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>


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.


Related concepts

Payment plug-ins


Related tasks

Configure a custom payment plug-in

Related reference

AVSRules XML file
CorePaymentActions XML file
EDPGlobalConfigs XML file
PaymentMethodConfigurations XML file
RefundMethodConfigurations XML file
RefundMappings XML file
PaymentSystemPluginMapping XML file


+

Search Tips   |   Advanced Search