prevent negative balance mycred link
-
I have been using mycred link to add and deduct points. The default mode is that users’ balance can go negative, so the transaction does not stop even when a user does not have enough points. So I used this code snippet provided by mycred to prevent negative balance: https://gist.github.com/gabrielmerovingi/8c03987b961d85c1ddbee8654b520ed0
Unfortunately, the code does not work. It prevents any kind of deductions, even when the user has enough points.
The page I need help with: [log in to see the link]
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘prevent negative balance mycred link’ is closed to new replies.