Bypassing the Payments subsystem in WebSphere Commerce
If you want to bypass or disable the Payment subsystem for WebSphere Commerce, replace the Payment Rules task commands with void implementations.
About this task
When you replace the following Payment Rules task commands
with void implementations, the Payment subsystem is bypassed for a
store and Payment processing does not occur:
Payment Rule task command | Void implementation |
---|---|
com.ibm.commerce.edp.commands.PrimePaymentCmd | com.ibm.commerce.edp.commands.PrimePaymentVoidCmdImpl |
com.ibm.commerce.edp.commands.ReservePaymentCmd | com.ibm.commerce.edp.commands.ReservePaymentVoidCmdImpl |
com.ibm.commerce.edp.commands.FinalizePaymentCmd | com.ibm.commerce.edp.commands.FinalizePaymentVoidCmdImpl |
com.ibm.commerce.edp.commands.TriggerPaymentActionsCmd | com.ibm.commerce.edp.commands.TriggerPaymentActionsVoidCmdImpl |
com.ibm.commerce.edp.commands.CancelOrderCmd | com.ibm.commerce.edp.commands.CancelOrderVoidCmdImpl |
com.ibm.commerce.edp.commands.StoreAndValidatePaymentCmd | com.ibm.commerce.edp.commands.StoreAndValidatePaymentVoidCmdImpl |
com.ibm.commerce.edp.commands.PIAddCmd | com.ibm.commerce.edp.commands.PIAddVoidCmdImpl |
com.ibm.commerce.edp.commands.QueryPIsCmd | com.ibm.commerce.edp.commands.QueryPIsVoidCmdImpl |
com.ibm.commerce.edp.commands.EDPPaymentInstructionsBeanCmd | com.ibm.commerce.edp.commands.EDPPaymentInstructionsVoidBeanCmdImpl |
To disable Payments for the whole site, replace STOREENT_ID with STOREENT_ID=0 when you perform the following procedure.