diff --git a/engine/payments/views.py b/engine/payments/views.py index 8c6a8771..8041115c 100644 --- a/engine/payments/views.py +++ b/engine/payments/views.py @@ -75,7 +75,7 @@ class CallbackAPIView(APIView): transaction = Transaction.objects.get(uuid=str(kwargs.get("uuid"))) if not transaction.gateway: raise UnknownGatewayError() - gateway = transaction.gateway.get_integration_class_object() + gateway = transaction.gateway.get_integration_class_object(raise_exc=True) gateway.process_callback(request.data) return Response(status=status.HTTP_202_ACCEPTED) except Exception as e: