Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deleted Item Returns Money (NewPoints (2.1.1))

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.

> SELECT finger FROM hand WHERE id='3'
Why dont u just remove item, then remove the amount of points from the users profile via Newpoints in admin cp?
The following must be the line causing this:
newpoints_addpoints($uid, floatval($item['price'])*$mybb->settings['newpoints_shop_percent']);

Forum Jump:

Users browsing this thread: 1 Guest(s)