Skip to content

Commit

Permalink
reparación en responses
Browse files Browse the repository at this point in the history
problemas con los parametros no documentados solucionado
  • Loading branch information
fixmycode committed Sep 2, 2020
1 parent fb21045 commit a5a15de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pykhipu/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit a5a15de

Please sign in to comment.