Changeset 8717 for main/waeup.aaue/trunk/src/waeup/aaue
- Timestamp:
- 14 Jun 2012, 06:22:18 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/etranzact/browser.py
r8710 r8717 130 130 payment.p_state = 'failed' 131 131 return False, msg, log 132 tcode = payment.p_id133 tcode = tcode[len(tcode)-8:len(tcode)]132 #tcode = payment.p_id 133 #tcode = tcode[len(tcode)-8:len(tcode)] 134 134 col1 = success_dict.get('COL1') 135 col1 = col1[len(col1)-8:len(col1)] 136 if tcode != col1: 137 msg = _('Wrong transaction code') 135 #col1 = col1[len(col1)-8:len(col1)] 136 #if tcode != col1: 137 if payment.p_id != col1: 138 #msg = _('Wrong transaction code') 139 msg = _('Wrong payment id') 138 140 log = 'wrong callback for payment %s: %s' % (payment.p_id, success) 139 141 payment.p_state = 'failed'
Note: See TracChangeset for help on using the changeset viewer.