Viewing 1 replies (of 1 total)
  • Plugin Author Subrata Mal

    (@subratamal)

    Please use our GitHub version and below update code to themes function.php file to restrict cashback credit when order status processing and COD orders.

    add_filter('process_woo_wallet_general_cashback', 'process_woo_wallet_general_cashback_callback', 10, 2);
    
    function process_woo_wallet_general_cashback_callback($process, $order){
        if('processing' === $order->get_status('edit') || 'cod' === $order->get_payment_method('edit')){
            return false;
        }
        return $process;
    }

    Thanks and Regards,
    Subrata Mal

Viewing 1 replies (of 1 total)
  • The topic ‘Cashback coupon not working as prescribed for Prepaid and completed orders’ is closed to new replies.