Uninstall a payment plug-in

To remove a payment plug-in from use, you can do two things:

  1. Disable the payment plug-in so the WebSphere Commerce Payments 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.
    1. Remove any references to the plug-in from the Payment system plug-in mapping XML file.
    2. Remove the payment plug-in directory from the plugins directory:
      • WC_eardir/xml/config/payments/ppc/plugins/plugin_name
      • WC_eardir/xml/config/payments/ppc/plugins/plugin_name
  2. Remove the plug-in JAR file from the WebSphere Commerce instance.ear directory. This removes the plug-in from the system. The WebSphere Commerce Payments 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.

Disable a WebSphere Commerce payment plug-in

To disable a payment plug-in from WebSphere Commerce:

  1. Stop WebSphere Commerce.
  2. Remove the plug-in name from the Payment system plug-in mapping XML file.
  3. If necessary, remove the payment system name from the PaymentMethodConfigurations XML file and RefundMethodConfigurations XML file (or configure the payment system plug-in mapping XML file to map to another payment plug-in, if appropriate).
  4. Restart WebSphere Commerce.

The removal of the plug-in name from these files will ensure that the plug-in is not used by the WebSphere Commerce Payments.

Uninstall 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.

  1. Stop WebSphere Commerce.
  2. Disable the payment plug-in:
    1. Remove the plug-in name from the Payment system plug-in mapping XML file.
    2. If necessary, remove the payment system name from the PaymentMethodConfigurations XML file and RefundMethodConfigurations XML file.
  3. Remove the plug-in JAR file from WebSphere Commerce instance.ear directory:
  4. Remove the plug-in_name directory and deployment descriptor file from the following location.
    • WC_eardir/xml/config/payments/ppc/plugins/plugin_name/PluginDeployment.xml
    • WC_eardir/xml/config/payments/ppc/plugins/plugin_name/PluginDeployment.xml
  5. Restart WebSphere Commerce.