undoPoint() is not working
RichaPatel08 opened this issue · comments
$payment->customer->user->undoPoint(new SuccessfulPayment($payment));
In your method simply reduce the point you've already given, eg:
$user->reducePoint(5)
Gamify your Laravel app with Reputation Points & Achievements Badges support
RichaPatel08 opened this issue · comments
$payment->customer->user->undoPoint(new SuccessfulPayment($payment));
In your method simply reduce the point you've already given, eg:
$user->reducePoint(5)