- Timestamp:
- 25 Jan 2007, 17:51:30 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/epayment_cb.py
r1348 r1349 36 36 pd[pdk] = request.get(rc) 37 37 context.getContent().edit(mapping=pd) 38 if pd['resp_desc'] == 'Approved Successful': 38 resp = pd['resp_desc'] 39 if resp.startswith('Appro') and resp.endswith('essful'): 39 40 wftool.doActionFor(student,'pay_school_fee') 40 41 logger.info('"%s", "received valid callback"' % student_id) 42 elif len(resp) < 3: 43 logger.info('"%s", "received no callback"' % student_id) 41 44 else: 42 logger.info('"%s", "received nocallback"' % student_id)45 logger.info('"%s", "received unsuccessfull callback"' % student_id) 43 46 wftool.doActionFor(context,'close') 44 47
Note: See TracChangeset for help on using the changeset viewer.