- Timestamp:
- 1 Aug 2017, 11:52:25 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/helpers.py
r14737 r14738 63 63 64 64 def get_payment_status_via_rrr(merchantId, api_key, RRR, host, https): 65 RRR = RRR.rstrip() 65 66 hashargs = RRR + api_key + merchantId 66 67 hashvalue = hashlib.sha512(hashargs).hexdigest() … … 76 77 resp = h.getresponse() 77 78 if resp.status!=200: 78 return {'error': 'Connection error (%s, %s)' % (resp onse.status, response.reason)}79 return {'error': 'Connection error (%s, %s)' % (resp.status, resp.reason)} 79 80 jsonout = resp.read() 80 81 try:
Note: See TracChangeset for help on using the changeset viewer.