diff --git a/gopay/http.py b/gopay/http.py index cee122c..d076523 100644 --- a/gopay/http.py +++ b/gopay/http.py @@ -141,6 +141,7 @@ def send_request(self, request: Request) -> Response: auth=(self.client_id, self.client_secret) if request.basic_auth else None, data=request.body if request.content_type == ContentType.FORM else None, json=request.body if request.content_type == ContentType.JSON else None, + timeout=300 ) # Build Response instance, try to decode body as JSON