Changeset 14750 for main/kofacustom.nigeria/trunk/src/kofacustom
- Timestamp:
- 2 Aug 2017, 11:37:53 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/browser.py
r14745 r14750 91 91 # if a payment was not successful. 92 92 resp = self.request.form 93 if resp and resp.get('statuscode') not in ( '025', '00', '01'):94 self.flash(' Message from Remita: %s.'95 % resp.get('status'), type=' danger')93 if resp and resp.get('statuscode') not in (None, '025', '00', '01'): 94 self.flash('Transaction status message from Remita: %s' 95 % resp.get('status'), type='warning') 96 96 97 97 success, msg, log = query_remita( … … 188 188 return resp.get('error') 189 189 if resp.get('statuscode') not in ('021', '025', '055'): 190 return ' Message from Remita: ' + resp.get('status')190 return 'RRR generation message from Remita: ' + resp.get('status') 191 191 self.rrr = self.context.r_pay_reference = resp['RRR'].rstrip() 192 192 hashargs = self.merchantId + self.rrr + self.api_key
Note: See TracChangeset for help on using the changeset viewer.