diff --git a/cbebirr/cbebirr.py b/cbebirr/cbebirr.py index 7d22478..d50f91e 100644 --- a/cbebirr/cbebirr.py +++ b/cbebirr/cbebirr.py @@ -187,7 +187,7 @@ def cbebirrplus_payment(tillCode, amount, transactionId, transactionTime, compan "callBackURL": callBackURL } - sorted_payload = dict(OrderedDict(sorted(x.items()))) + sorted_payload = dict(OrderedDict(sorted(payload.items()))) signiture = sha256(urlencode(sorted_payload).encode('utf-8')).hexdigest() del payload['key'] payload['signature'] = signiture diff --git a/setup.py b/setup.py index d4ade1b..a50ab61 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh: long_description = "\n" + fh.read() -VERSION = '0.0.12' +VERSION = '0.0.13' DESCRIPTION = 'CBEBirr integration' LONG_DESCRIPTION = 'This package is a helper package with telebirr integration.'