[ad_1]
Hello how are you?
I made a little code to convert a token I have to cash, and I would like the result of this conversion to be added to the wallet,
I realized that just adding a record in the wp_woo_wallet_transactions table is not enough to update the wallet balance automatically,
I tried to call the “credit” function passing the arguments credit($user_id,$valuetoadd,$details);
but it didn’t work, I would like to know if there is any way to update the balance after I make this input in the database, or if there is a way for me to use the credit function to make the input and update the balance.
thank you so much!
The page I need help with: [log in to see the link]
