Changeset 8644 for main/waeup.fceokene/trunk/src/waeup/fceokene
- Timestamp:
- 7 Jun 2012, 17:58:18 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py
r8641 r8644 34 34 from waeup.fceokene.interfaces import MessageFactory as _ 35 35 36 PRODUCT_ID = ' 00'36 PRODUCT_ID = '83' 37 37 SITE_NAME = 'fceokene-kofa.waeup.org' 38 38 PROVIDER_ACCT = '0026781725' 39 39 PROVIDER_BANK_ID = '31' 40 40 PROVIDER_ITEM_NAME = 'BT Education' 41 ICT_ACCT = '6216801058'42 ICT_BANK_ID = '117'43 ICT_ITEM_NAME = 'FCEOkene ICT'44 41 INSTITUTION_NAME = 'FCEOkene' 45 42 CURRENCY = '566' … … 244 241 site_name = SITE_NAME 245 242 currency = CURRENCY 246 pay_item_id = ' 0000'243 pay_item_id = '8303' 247 244 product_id = PRODUCT_ID 248 245 … … 263 260 xmldict['detail_ref'] = self.context.p_id 264 261 # Provider data 265 xmldict['provider_amt'] = 100 * 365262 xmldict['provider_amt'] = 100 * 500 266 263 xmldict['provider_acct'] = PROVIDER_ACCT 267 264 xmldict['provider_bank_id'] = PROVIDER_BANK_ID 268 265 xmldict['provider_item_name'] = PROVIDER_ITEM_NAME 269 # ICT data270 xmldict['ict_amt'] = 100 * 135271 xmldict['ict_acct'] = ICT_ACCT272 xmldict['ict_bank_id'] = ICT_BANK_ID273 xmldict['ict_item_name'] = ICT_ITEM_NAME274 266 # Institution data 275 xmldict['institution_amt'] = 100 * ( 276 self.context.amount_auth - 365 - 150 - 135) 267 xmldict['institution_amt'] = 100 * (self.context.amount_auth - 500 - 150) 277 268 xmldict['institution_acct'] = '1012415659' 278 269 xmldict['institution_bank_id'] = '117' … … 284 275 <item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" /> 285 276 <item_detail item_id="2" item_name="%(provider_item_name)s" item_amt="%(provider_amt)d" bank_id="%(provider_bank_id)s" acct_num="%(provider_acct)s" /> 286 <item_detail item_id="3" item_name="%(ict_item_name)s" item_amt="%(ict_amt)d" bank_id="%(ict_bank_id)s" acct_num="%(ict_acct)s" />287 277 </item_details> 288 278 </payment_item_detail>""" % xmldict
Note: See TracChangeset for help on using the changeset viewer.