How to disable and delete Transaction history without effecting User Credits?
-
I want to disable and delete all old Transaction history.
Now I use this code to debit credits and insert Transaction in DB:
$transaction_id = woo_wallet()->wallet->debit( $userid, $serviceprice, $refid); do_action( 'woo_wallet_admin_adjust_balance', $transaction_id ); $credits = woo_wallet()->wallet->get_wallet_balance($userid, 'edit');
How can I debit the credits without inserting the Transaction in history?
And how should I delete all the old Transaction history for users without effecting there current credits?Thank you so much for helping.
- This topic was modified 5 years, 4 months ago by .
- This topic was modified 5 years, 4 months ago by .
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to disable and delete Transaction history without effecting User Credits?’ is closed to new replies.