updated webhook module
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user