Payment plug-ins can be configured for use with event-driven payments processing. To add a payment plug-in into an event-driven payments configuration (or to change the name of a plug-in):
- Edit the PaymentMethodConfiguration XML file to specify the payment system name associated with the payment plug-in configured in the Payment Plug-in Controller. For example, here, OfflineCreditCardSystem is the payment system name.
<PaymentMethodConfiguration name="AMEX" paymentSystemName="OfflineCreditCardSystem"
The payment system name should match the name attribute of a PaymentSystemName element in the PaymentSystemPluginMapping.xml file. For example:
<PaymentSystemName name="OfflineCreditCardSystem" > <Mapping storeId="101" PluginName="WCPaymentsPlugin"> <Property name="ProfileName" value="WCPPlugin_OfflineCard"/> <Property name="SupportsOnlineTransaction" value="yes"/> </Mapping>
The plug-in mapping XML file is located in the following directory:
WAS_installdir/installedApps/cell_name/WC_instance_name.ear/xml/config/payments/ ppc/plugins/PaymentSystemPluginMapping.xml
WAS_userdir/installedApps/cell_name/WC_instance_name.ear/xml/config/payments/ ppc/plugins/PaymentSystemPluginMapping.xml
WCDE_installdir /xml/config/payments/ppc/plugins/PaymentSystemPluginMapping.xml
- Ensure the remaining set of event-driven payments XML configuration files are configured for payment rules.
- Restart WebSphere Commerce.