Skip to content

Commit 65d98ed

Browse files
committed
Fixed issue with decoding HPP response
1 parent 51382f7 commit 65d98ed

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Change log
33
==========
44

5+
0.2.8 (2017-07-10)
6+
------------------
7+
8+
* Fixed issue with decoding HPP response
9+
510
0.2.7 (2017-06-21)
611
------------------
712

addonpayments/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
__author__ = 'Marc Galofré'
44
__email__ = '[email protected]'
5-
__version__ = '0.2.7'
5+
__version__ = '0.2.8'

addonpayments/hpp/hpp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def response_from_json(self, json_response, encoded=True):
131131

132132
logger.debug("Decoding object.")
133133
try:
134-
hpp_response = JsonUtils.from_json_hpp_response(json_response, self.encoding_charset, encoded)
134+
hpp_response = JsonUtils().from_json_hpp_response(json_response, self.encoding_charset, encoded)
135135
except Exception as e:
136136
error_msg = "Exception decoding HPP response"
137137
logger.error("{}: {}".format(error_msg, e))

0 commit comments

Comments
 (0)