Updating the payment system mapping file

In this step, you will define a new payment system named MyPaymentSystem in the payment system mapping file and map it to the payment plug-in.

About this task

To update the payment system mapping file:

Procedure

  1. Open the WC_eardir/xml/config/payments/ppc/plugins directory.
  2. Make a backup of PaymentSystemPluginMapping.xml.
  3. Open PaymentSystemPluginMapping.xml for editing.
  4. Insert the following into the file, right before </Mapper>:
    
    <PaymentSystemName name="MyPaymentSystem">
     <Mapping paymentConfigurationId="default" pluginName="MyPaymentPlugin">
      <Keyword name="account" mask ="*" plain="-5" searchable="true" />
     </Mapping>
    </PaymentSystemName>
    
  5. Close the file and save the changes.