website stripe updated 3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user