Order Status stays at "Processing"2019-06-19T22:14:18+05:30

Home Forums Core Order Status stays at "Processing"

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • gabriel.tisluck
    Participant
    Post count: 1

    Hello,

    For some reasons, all my transactions with the Wallet Payment stay at “Processing” status. I’m using to Wallet Payment and Coinbase Payment.

    Thank you for your help,

    Subrata Mal
    Keymaster
    Post count: 175

    Please use below code in theme function.php file.

    add_action('woo_wallet_payment_processed', 'woo_wallet_payment_processed_callbak');
    if(!function_exists('woo_wallet_payment_processed_callbak')){
        function woo_wallet_payment_processed_callbak($order_id){
            $order = wc_get_order($order_id);
            $order->set_status('completed');
        }
    }
    admin-1191
    Participant
    Post count: 1

    I put the code in functions.php. Still doesn’t work.
    Where’s the problem?
    Thank you for your help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.