Changeset 1286 for WAeUP_SRP/trunk/skins/waeup_epayment/pay_by_sc.py
- Timestamp:
- 12 Jan 2007, 22:27:43 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/pay_by_sc.py
r1283 r1286 32 32 logger.info('"%s","certificate not found", "%s"' % (student_id,course)) 33 33 prefix = "" 34 else: 34 else: 35 35 prefix = res[0].getObject().getContent().school_fee_code 36 36 if not prefix or prefix == 'none': … … 77 77 now = DateTime.DateTime() 78 78 info['date'] = now 79 info['amount'] = "n/a" 79 info['amount'] = "n/a" 80 80 pin = info['order_id'] = ds.get('pin') 81 info['type_code'] = " schoolfee_%s" % pin82 info['type_description'] = 'School fee SC %s' % pin81 info['type_code'] = "%s" % pin 82 info['type_description'] = 'School Fee SC %s' % pin 83 83 payments.invokeFactory('Payment', p_id) 84 84 payment = getattr(payments,p_id) … … 87 87 payment.getContent().edit(mapping=info) 88 88 wftool.doActionFor(payment,'close') 89 wftool.doActionFor(student,' enter_school_fee_pin')89 wftool.doActionFor(student,'pay_school_fee') 90 90 url = "%s/payments" % (student.absolute_url()) 91 91 request.RESPONSE.redirect(url)
Note: See TracChangeset for help on using the changeset viewer.