Changeset 14738
- Timestamp:
- 1 Aug 2017, 11:52:25 (7 years ago)
- Location:
- main/kofacustom.nigeria/trunk/src/kofacustom/nigeria
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/payments/interfaces.py
r14737 r14738 79 79 (_('Interswitch'), 'interswitch'), 80 80 (_('eTranzact'), 'etranzact'), 81 (_(' eRemita'), 'remita'),81 (_('Remita'), 'remita'), 82 82 (_('Scratch Card'), 'sc'), 83 83 (_('Manifest'), 'manifest'), -
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.