If you need to disable a certain payment method in the mobile version only, please follow the instructions below:


In the file system of CS-Cart 2.2.х or 3.х, open the file addons/twigmo/config.php for editing in UTF-8 mode.

In the file system of CS-Cart 4.x, edit the file app/addons/twigmo/config.php in UTF-8 mode.


Find a line with the following text:


$settings['unsupported_payment_methods'] = array(


The next lines show a list of the payment methods that are not supported in the mobile version. Add your payment method to this list. In this list you can specify either the processor script name or the processor name. The processor script name is the name of the PHP file located in the 'app/payments' directory (in CS-Cart 2.2.x or 3.x, the 'payments' directory).


For example, if the processor script name of your payment method is my_custom_payment.php, then the list will look as follows:

$settings['unsupported_payment_methods'] = array(
    'FRIbetaling', 
    'PayPal Advanced', 
    'FuturePay', 
    ‘my_custom_payment.php’, 
); 


Here is another example when name of your processor is My Payment Gateway. Then the list should look like this:

$settings['unsupported_payment_methods'] = array( 
    'FRIbetaling', 
    'PayPal Advanced', 
    'FuturePay', 
    ‘My Payment Gateway’, 
); 


The processor name can be viewed in your CS-Cart admin panel. In the panel, go to Administration -> Payment Methods, then click on the payment method name and see the value of the Processor field.