Changeset 9441 for main/waeup.futminna/trunk/src/waeup/futminna/interswitch
- Timestamp:
- 27 Oct 2012, 06:37:25 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser.py
r9432 r9441 102 102 if payment.r_code != '00': 103 103 msg = _('Unsuccessful callback: ${a}', mapping = {'a': sr}) 104 log = 'unsuccessful callback for payment %s: %s' % (payment.p_id, sr) 104 log = 'unsuccessful callback for %s payment %s: %s' % ( 105 payment.p_category, payment.p_id, sr) 105 106 payment.p_state = 'failed' 106 107 return False, msg, log 107 108 if payment.r_amount_approved != payment.amount_auth: 108 109 msg = _('Callback amount does not match.') 109 log = 'wrong callback for payment %s: %s' % (payment.p_id, sr) 110 log = 'wrong callback for %s payment %s: %s' % ( 111 payment.p_category, payment.p_id, sr) 110 112 payment.p_state = 'failed' 111 113 return False, msg, log 112 114 if wlist[4] != payment.p_id: 113 115 msg = _('Callback transaction id does not match.') 114 log = 'wrong callback for payment %s: %s' % (payment.p_id, sr) 116 log = 'wrong callback for %s payment %s: %s' % ( 117 payment.p_category, payment.p_id, sr) 115 118 payment.p_state = 'failed' 116 119 return False, msg, log
Note: See TracChangeset for help on using the changeset viewer.