Looking for help?
< All Topics

How to add custom payment method in POS

To do this, add this snippets code to your theme/function.php or any code snippets plugin and custom the method code , method name as you want

    function custom_payment_op_login_format_payment_data($payment_methods){
        $payment_method_data = array(
            'code' => 'payment_code_here', // change to your method code
            'name' => 'Payment Method Name',// change to your method name
            'type' => 'offline',
            'hasRef' => true,
            'partial' => false,
            'description' => 'Payment Method Name description',// change to your method name description
            'online_type' => 'external',
            'offline_transaction' => 'yes',
            'offline_order' => 'yes'
        $payment_methods[] = $payment_method_data;
        return $payment_methods;
Previous Hide all new order notice from website
Next How to add new product type display on POS.
Table of Contents
[elementor-template id="5546"]