From 8d199f5db91298db423428382007ed307f28a3a6 Mon Sep 17 00:00:00 2001 From: rizwanisready Date: Thu, 7 Mar 2024 19:29:04 +0530 Subject: [PATCH] website stripe updated 4 --- goodtimes/services.py | 1 + 1 file changed, 1 insertion(+) diff --git a/goodtimes/services.py b/goodtimes/services.py index 6eb122d..cfaf6fa 100644 --- a/goodtimes/services.py +++ b/goodtimes/services.py @@ -211,6 +211,7 @@ class PaymentProcessingService: def _get_transaction_by_id(self): print("self.webhook_data: ", self.webhook_data) print("self.charge_data: ", self.charge_data) + print("self.metadata: ", self.charge_data["metadata"]) # Extract transaction_id from webhook metadata transaction_id = int(self.charge_data["metadata"]["transaction_id"]) # Fetch the Transaction instance using the transaction_id