@@ -166,9 +166,9 @@ public class PaymentService {
|
|||||||
|
|
||||||
referralService.onUserAccountRefill(payment.getUser().getId(), intPrice);
|
referralService.onUserAccountRefill(payment.getUser().getId(), intPrice);
|
||||||
|
|
||||||
long inviterIdForUser = referralRepo.getInviterIdForUser(payment.getUser().getId());
|
// long inviterIdForUser = referralRepo.getInviterIdForUser(payment.getUser().getId());
|
||||||
|
|
||||||
notificationService.addNotification(NotificationType.REFERRAL_ACTIVATED, inviterIdForUser);
|
// notificationService.addNotification(NotificationType.REFERRAL_ACTIVATED, inviterIdForUser);
|
||||||
} else if ("payment.canceled".equals(eventType)) {
|
} else if ("payment.canceled".equals(eventType)) {
|
||||||
payment.setStatus(PaymentStatus.CANCELED);
|
payment.setStatus(PaymentStatus.CANCELED);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user