From 479a64ebb709f9acfb168b5376f085a17198ccf2 Mon Sep 17 00:00:00 2001 From: rizwanisready Date: Sat, 4 May 2024 23:31:14 +0530 Subject: [PATCH] webhook separate file 2 --- goodtimes/webhook.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/goodtimes/webhook.py b/goodtimes/webhook.py index fb86769..f5f8885 100644 --- a/goodtimes/webhook.py +++ b/goodtimes/webhook.py @@ -186,9 +186,9 @@ class PaymentProcessingService: self.notification_service = NotificationService() # Retrieve objects - self.principal = self.webhook_service.get_principal_id() - self.transaction = self.webhook_service.get_transaction_id() - self.subscription = self.webhook_service.get_subscription_id() + self.principal = self.webhook_service.get_principal() + self.transaction = self.webhook_service.get_transaction() + self.subscription = self.webhook_service.get_subscription() self.order_id = self.webhook_service.get_order_id() self.principal_subscription = None