• Resolved ebereorisi

    (@ebereorisi)


    Hi, I don’t seem to know how to setup back-end confirmation for wallet top-up with bank transfer or cash on delivery payment options before amount is added to user’s account

    • This topic was modified 6 years, 4 months ago by ebereorisi.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Subrata Mal

    (@subratamal)

    @ebereorisi,

    What type of back-end confirmation are you looking for?

    Thread Starter ebereorisi

    (@ebereorisi)

    For example when a user tops up their wallet and checks out with woocommerce Direct bank transfer payment option; The money is automatically credited to their wallet balance. Is there a way to put the wallet credit to their account on hold then credit their account manually after I confirm that their bank transfer was successful?

    Plugin Author Subrata Mal

    (@subratamal)

    @ebereorisi,

    use below code to theme function.php file

    add_filter('wallet_credit_purchase_order_status', 'wallet_credit_purchase_order_status_callback');
    function wallet_credit_purchase_order_status_callback(){
        return array('completed');
    }

    Using this code will not credit wallet balance to user wallet until the order status is completed.

    Thank you.

    Thread Starter ebereorisi

    (@ebereorisi)

    Thank you very much. It works perfectly

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wallet topup backend cormfirmation’ is closed to new replies.