Skip to content

Commit

Permalink
ordering of dict update v0.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
eba-alemayehu committed Sep 16, 2023
1 parent faecbad commit 7cc5c51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cbebirr/cbebirr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.'

Expand Down

0 comments on commit 7cc5c51

Please sign in to comment.