• Resolved sadiqodunsi

    (@sadiqodunsi)


    Is there a function I can use to programmatically increase or decrease a user’s wallet balance?

    • This topic was modified 6 years, 5 months ago by sadiqodunsi.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter sadiqodunsi

    (@sadiqodunsi)

    Hello,

    I am still hoping to get a response for this. It will be highly appreciated.

    Kind regards,
    Ssidq Odunsi

    Plugin Author Subrata Mal

    (@subratamal)

    @sadiqodunsi

    You can credit user wallet by using woo_wallet()->wallet->credit($user_id, $amount, $description); function and for debit use
    woo_wallet()->wallet->debit($user_id, $amount, $description);

    Thanks

    Thread Starter sadiqodunsi

    (@sadiqodunsi)

    Thanks a lot for the response.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How can I increase or decrease a user’s wallet balance programmatically?’ is closed to new replies.