From 87bd5a47853e69941d329cd7bb8e7a9157aac088 Mon Sep 17 00:00:00 2001 From: rizwanisready Date: Thu, 7 Mar 2024 19:26:39 +0530 Subject: [PATCH] website stripe updated 3 --- goodtimes/services.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/goodtimes/services.py b/goodtimes/services.py index a1292cc..6eb122d 100644 --- a/goodtimes/services.py +++ b/goodtimes/services.py @@ -209,6 +209,8 @@ class PaymentProcessingService: return self.charge_data.get("customer", None) def _get_transaction_by_id(self): + print("self.webhook_data: ", self.webhook_data) + print("self.charge_data: ", self.charge_data) # Extract transaction_id from webhook metadata transaction_id = int(self.charge_data["metadata"]["transaction_id"]) # Fetch the Transaction instance using the transaction_id