- Timestamp:
- 4 Oct 2012, 10:04:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser.py
r9285 r9288 157 157 site_name = SITE_NAME 158 158 currency = CURRENCY 159 pay_item_id = ' 5700'159 pay_item_id = '' 160 160 product_id = PRODUCT_ID 161 161 … … 200 200 201 201 if self.context.student.current_mode in ('pg_ft'): 202 pay_item_id = "11703"202 self.pay_item_id = "11703" 203 203 elif self.context.student.state == CLEARED and \ 204 204 self.context.student.current_level == 100: 205 pay_item_id = "11700"205 self.pay_item_id = "11700" 206 206 elif self.context.student.state == CLEARED and \ 207 207 self.context.student.current_level == 200: 208 pay_item_id = "11701"208 self.pay_item_id = "11701" 209 209 elif self.context.student.state == CLEARED and \ 210 210 self.context.student.current_level == 300: 211 pay_item_id = "11702"211 self.pay_item_id = "11702" 212 212 elif self.context.student.state == RETURNING and \ 213 213 self.context.student.current_level in (100,110): 214 pay_item_id = "11701"214 self.pay_item_id = "11701" 215 215 elif self.context.student.state == RETURNING and \ 216 216 self.context.student.current_level in (200,210): 217 pay_item_id = "11702"217 self.pay_item_id = "11702" 218 218 elif self.context.student.state == RETURNING and \ 219 219 self.context.student.current_level in (300,310): 220 pay_item_id = "11703"220 self.pay_item_id = "11703" 221 221 elif self.context.student.state == RETURNING and \ 222 222 self.context.student.current_level in (400,410,500,510,600): 223 pay_item_id = "11704" 224 else: 225 pay_item_id = "" 223 self.pay_item_id = "11704" 224 226 225 227 226 if self.context.student.current_mode == 'jm_ft': … … 283 282 return 284 283 student = self.context.student 284 import pdb; pdb.set_trace() 285 285 success, msg, log = query_interswitch(self.context) 286 286 student.writeLogMessage(self, log)
Note: See TracChangeset for help on using the changeset viewer.