• Resolved kalilov

    (@kalilov)


    Hi thanks for your work,

    I want to know how to do to disable adding funds to the balance after passing an orders with cash on deposit, cause the order is going directly to processing, and the balance is automaticly added with the funds that the users selected. Thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor Moumita Adak

    (@moumitaadak)

    @kalilov Use attached code in theme function.php file to credit wallet in completed status.

    add_filter(wallet_credit_purchase_order_status', 'wallet_credit_purchase_order_status_callback');
    function wallet_credit_purchase_order_status_callback(){
        return array('completed');
    }
Viewing 1 replies (of 1 total)
  • The topic ‘How to disable automatic add amount after top up’ is closed to new replies.