Jump to the post that solved this thread.
Not Solved Deleted Item Returns Money (NewPoints (2.1.1))
#1
Not Solved
Hello!

We found out today that if we delete/remove an item from a users inventory they are then reimbursed the cost of the item. We do not want to allow this as the items they are buying are deleted after use. They should not be getting a refund.

How would we fix this to make sure they do not receive refunds when items are removed? I cannot find this setting in Newpoints or Newpoints Shop settings.

Thanks!
> SELECT finger FROM hand WHERE id='3'
Reply
#2
Not Solved
Why dont u just remove item, then remove the amount of points from the users profile via Newpoints in admin cp?
Reply
#3
Not Solved
The following must be the line causing this:
newpoints_addpoints($uid, floatval($item['price'])*$mybb->settings['newpoints_shop_percent']);
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)