To remove a payment plug-in from use, you can do two things:
- Disable the payment plug-in so the Payment Plug-in Controller does not attempt to use it. This disables the payment plug-in but does not completely remove it from the system. The WebSphere Commerce EAR (WebSphere Application Server) will still load the JAR file (EJB module) for the plug-in.
- Remove any references to the plug-in from the Payment system plug-in mapping XML file.
- Remove the payment plug-in directory from the plugins directory:
WAS_installdir/installedApps/cell_name/WC_instance_name.ear/xml/config/ payments/ppc/plugins/plugin_name
WAS_userdir/installedApps/cell_name/WC_instance_name.ear/xml/config/payments/ppc/plugins/plugin_name
- Remove the plug-in JAR file from the WebSphere Commerce instance.ear directory. This removes the plug-in from the system. The Payment Plug-in Controller will not be aware of the plug-in, and the WebSphere Commerce EAR will not load the JAR file.
To completely remove a payment plug-in, do both steps.
Disabling a WebSphere Commerce payment plug-in
To disable a payment plug-in from WebSphere Commerce:
- Stop WebSphere Commerce.
- Remove the plug-in name from the Payment system plug-in mapping XML file.
- If necessary, remove the payment system name from the PaymentMethodConfiguration XML file and RefundMethodConfiguration XML file (or configure the payment system plug-in mapping XML file to map to another payment plug-in, if appropriate).
- Restart WebSphere Commerce.
The removal of the plug-in name from these files will ensure that the plug-in is not used by the Payment Plugin Controller.
Uninstalling an external (third-party) plug-in
To uninstall an external payment plug-in, you can follow the plug-in's uninstallation instructions if provided. If no instructions were provided, the following steps are suggested. It is also possible to follow these steps to uninstall a payment plug-in provided with WebSphere Commerce.
- Stop WebSphere Commerce.
- Disable the payment plug-in:
- Remove the plug-in name from the Payment system plug-in mapping XML file.
- If necessary, remove the payment system name from the PaymentMethodConfiguration XML file and RefundMethodConfiguration XML file.
- Remove the plug-in JAR file from WebSphere Commerce instance.ear directory:
WAS_installdir/installedApps/cell_name/WC_instance_name.ear/plugin_name.jar
WAS_userdir/installedApps/cell_name/WC_instance_name.ear/plugin_name.jar
- Remove the plug-in_name directory and deployment descriptor file from the following location.
WAS_installdir/installedApps/cell_name/WC_instance_name.ear/xml/config/ payments/ppc/plugins/plugin_name/PluginDeployment.xml
WAS_userdir/installedApps/cell_name/WC_instance_name.ear/xml/config/ payments/ppc/plugins/plugin_name/PluginDeployment.xml
- Restart WebSphere Commerce.