updated webhook module

This commit is contained in:
rizwanisready
2024-08-08 18:07:23 +05:30
parent e0ed41f096
commit 4c2d693ebf

View File

@@ -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()