diff --git a/goodtimes/webhook.py b/goodtimes/webhook.py index 968d994..9950138 100644 --- a/goodtimes/webhook.py +++ b/goodtimes/webhook.py @@ -102,9 +102,9 @@ class ReferralRewardService: value=amount, ) self._credit_transaction(referral_record.referrer_principal, amount) - self.notification_service.referral_received_notification( - referral_record.referrer_principal, amount, self.principal.email - ) + # self.notification_service.referral_received_notification( + # referral_record.referrer_principal, amount, self.principal.email + # ) def _credit_transaction(self, referrer_principal, amount): Transaction.objects.create( @@ -219,15 +219,15 @@ class PaymentProcessingService: ) referral_service.credit_referral_reward_if_applicable() - self.notification_service.payment_success_notification( - self.principal, self.subscription, self.transaction.amount - ) + # self.notification_service.payment_success_notification( + # self.principal, self.subscription, self.transaction.amount + # ) def handle_failure(self): self.subscription_service.update_transaction_failure(self.transaction) - self.notification_service.payment_failed_notification( - self.principal, self.subscription, self.transaction.amount - ) + # self.notification_service.payment_failed_notification( + # self.principal, self.subscription, self.transaction.amount + # ) class NotificationService: