From a5a15def26c28032ead22909980f0c0ec7ce04e3 Mon Sep 17 00:00:00 2001 From: Pablo Albornoz Date: Wed, 2 Sep 2020 00:50:56 -0400 Subject: [PATCH] =?UTF-8?q?reparaci=C3=B3n=20en=20responses?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit problemas con los parametros no documentados solucionado --- pykhipu/responses.py | 3 ++- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pykhipu/responses.py b/pykhipu/responses.py index 173a684..c6a375d 100644 --- a/pykhipu/responses.py +++ b/pykhipu/responses.py @@ -402,7 +402,7 @@ def funds_source(self): class PaymentsCreateResponse(BaseResponse): def __init__(self, payment_id, payment_url, simplified_transfer_url, - transfer_url, app_url, ready_for_terminal): + transfer_url, webpay_url, hites_url, payme_url, app_url, ready_for_terminal): self._payment_id = payment_id self._payment_url = payment_url self._simplified_transfer_url = simplified_transfer_url @@ -417,6 +417,7 @@ def __init__(self, payment_id, payment_url, simplified_transfer_url, def from_data(cls, data): return cls(data.get('payment_id'), data.get('payment_url'), data.get('simplified_transfer_url'), data.get('transfer_url'), + data.get('webpay_url'), data.get('hites_url'), data.get('payme_url'), data.get('app_url'), data.get('ready_for_terminal')) @property diff --git a/pyproject.toml b/pyproject.toml index 4c88d6e..49ad34b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pykhipu" -version = "0.1.6" +version = "0.1.7" description = "Wrapper for the Khipu payment service API v2.0" authors = ["Pablo Albornoz "] license = "MIT"