Changeset 8205 for WAeUP_SRP/trunk/skins/waeup_uniben/getPaymentInfo.py
- Timestamp:
- 18 Apr 2012, 09:09:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_uniben/getPaymentInfo.py
r7901 r8205 36 36 payment = context.getContent() 37 37 info['payment_doc'] = payment 38 info['is_im_pmt'] = im = payment.resp_code in ('IM',) 38 39 info['is_etranzact_pmt'] = ie = payment.type == 'etranzact' 39 40 info['is_online_pmt'] = io = payment.resp_code in ('0','00','AP','IP',) … … 41 42 info['is_scratchcard_pmt'] = isc = payment.resp_code == 'SC' 42 43 info['is_interrupted'] = ii = payment.resp_code == '' and not ie 43 info['unknown_code'] = not (io or isc or ii or ir or ie )44 info['unknown_code'] = not (io or isc or ii or ir or ie or im) 44 45 info['resp_code'] = payment.resp_code 45 46 info['resp_desc'] = payment.resp_desc
Note: See TracChangeset for help on using the changeset viewer.