• Resolved ronak84

    (@ronak84)


    Hello,

    could you please add this option when cash on delivery is chosen as method for top up the Wallet till the order has not been marked as “completed” the top up credit don’t show up in the customer wallet ?

    Thank you

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

    (@subratamal)

    Use the code in the active 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');
    }

    Hey Subrata,
    Can this code be used as a snippet using snippet plugin? If yes what option to run the code in? on front-end, run everywhere or admin area?

    Please advice.

    Thanks
    Vishan

    • This reply was modified 3 years, 5 months ago by Jaggy.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘top up wallet through cash on delivery payment method’ is closed to new replies.