Mapping a payment system to a payment plug-in

To use a payment plug-in with Payment Rules in WebSphere Commerce, map the payment back-end system to the payment plug-in that will communicate with the back-end system.

  1. In a text editor or XML editor, open your copy of the PaymentSystemPluginMapping XML file.
  2. Specify the payment system name, payment configuration ID, plug-in name, and any specific plug-in properties that should be used for that payment system name mapping.

    Since a plug-in can be associated with more than one payment system name, you can specify properties that are unique to a particular payment system name. For example, PaymentSystemName ABC can use property XXX, and PaymentSystemName DEF can use property YYY even though the same plug-in is used for both.

    When the payment system name is used, the set of properties defined in the PaymentSystemPluginMapping.xml file is applied. These properties are different from the plug-in properties specified in the deployment descriptor. The properties specified in the deployment descriptor apply to the plug-in itself and remain constant in memory as the plug-in is used, regardless of the payment system name being used. The deployment descriptor is described in the Payment plug-in specification.

  3. Save the file in the following directory:
    • WC_eardir/xml/config/ payments/ppc/plugins/PaymentSystemPluginMapping.xml
    • WC_eardir/xml/config/ payments/ppc/plugins/PaymentSystemPluginMapping.xml