From 4c2d693ebfed18f6caa2dd44a7586bb72ee0f33f Mon Sep 17 00:00:00 2001 From: rizwanisready Date: Thu, 8 Aug 2024 18:07:23 +0530 Subject: [PATCH] updated webhook module --- goodtimes/webhook/payment_processing_service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/goodtimes/webhook/payment_processing_service.py b/goodtimes/webhook/payment_processing_service.py index ce0284b..30906c8 100644 --- a/goodtimes/webhook/payment_processing_service.py +++ b/goodtimes/webhook/payment_processing_service.py @@ -88,6 +88,7 @@ class PaymentProcessingService: try: txn = Transaction.objects.get(order_id=order_id) txn.transaction_status = TransactionStatus.FAIL + txn.save() return except Transaction.DoesNotExist: txn = self.create_transaction()