From 736404fdc85557dbfe07f50df66ba0675cfc1607 Mon Sep 17 00:00:00 2001 From: Bruno Zanotti Date: Fri, 25 Feb 2022 09:04:53 -0300 Subject: [PATCH] [FIX] payment_todopago: todopago has changed the uris --- payment_todopago/todopago/test/GetAuthorizeAnswerData.py | 2 +- payment_todopago/todopago/test/SendAuthorizeRequestData.py | 2 +- payment_todopago/todopago/todopagoconnector.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/payment_todopago/todopago/test/GetAuthorizeAnswerData.py b/payment_todopago/todopago/test/GetAuthorizeAnswerData.py index c5d8c66c..b73a6c26 100644 --- a/payment_todopago/todopago/test/GetAuthorizeAnswerData.py +++ b/payment_todopago/todopago/test/GetAuthorizeAnswerData.py @@ -14,7 +14,7 @@ def get_authorize_answer_ok_response(self): return { "RequestKey": "20c8abb6-343f-eb40-d524-84b464be0c27", "PublicRequestKey": "t48ae3e60-5cb0-9fb1-7608-4cff0c83f24b", - "URL_Request": "https://developers.todopago.com.ar/formulario/commands?command=formulario&m=t48ae3e60-5cb0-9fb1-7608-4cff0c83f24b", + "URL_Request": "https://apis.developers.todopago.com.ar/formulario/commands?command=formulario&m=t48ae3e60-5cb0-9fb1-7608-4cff0c83f24b", "StatusMessage": "Solicitud de Autorizacion Registrada", "StatusCode": -1 } diff --git a/payment_todopago/todopago/test/SendAuthorizeRequestData.py b/payment_todopago/todopago/test/SendAuthorizeRequestData.py index bc6a4861..5fcdec7e 100644 --- a/payment_todopago/todopago/test/SendAuthorizeRequestData.py +++ b/payment_todopago/todopago/test/SendAuthorizeRequestData.py @@ -87,7 +87,7 @@ def send_authorize_request_ok_response(self): return { "RequestKey": "20c8abb6-343f-eb40-d524-84b464be0c27", "PublicRequestKey": "t48ae3e60-5cb0-9fb1-7608-4cff0c83f24b", - "URL_Request": "https://developers.todopago.com.ar/formulario/commands?command=formulario&m=t48ae3e60-5cb0-9fb1-7608-4cff0c83f24b", + "URL_Request": "https://apis.developers.todopago.com.ar/formulario/commands?command=formulario&m=t48ae3e60-5cb0-9fb1-7608-4cff0c83f24b", "StatusMessage": "Solicitud de Autorizacion Registrada", "StatusCode": -1 } diff --git a/payment_todopago/todopago/todopagoconnector.py b/payment_todopago/todopago/todopagoconnector.py index 7aed608b..697d0a46 100644 --- a/payment_todopago/todopago/todopagoconnector.py +++ b/payment_todopago/todopago/todopagoconnector.py @@ -37,7 +37,7 @@ def newFunc(*args, **kwargs): tenant = 't/1.1/' soapAthorizeAppend = 'Authorize' end_points_base = { - "test": "https://developers.todopago.com.ar/", + "test": "https://apis.developers.todopago.com.ar/", "prod": "https://apis.todopago.com.ar/" }