RefundMappings XML file

Use the RefundMappings.xml to configure between a refund method and refund method configuration. This file can contain multiple refund method mappings.

This file is located in the following directory:

  • WC_eardir/xml/config/payments/edp/groups/default
  • HCL Commerce Developerworkspace_dir/wc/xml/config/payments/edp/groups/default
Example
<?xml version="1.0" encoding="UTF-8"?>
<RefundMappings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:noNamespaceSchemaLocation="com/ibm/commerce/edp/parsers/RefundMappings.xsd">

	<RefundMapping refundMethod="VISA"
		refundConfiguration="CreditCardOffline" />
</RefundMappings>
Parameters
refundMethod
The name of the refund method. It is defined in the table POLICY as the value of the column POLICYNAME for the Payment business policies. payment rules share the same method name for payment and refund.
refundConfiguration
The refund method configuration applied to the refund method. Configure refund methods in the RefundMethodConfigurations.xml file.