Ignore:
Timestamp:
7 Jun 2012, 17:58:18 (12 years ago)
Author:
Henrik Bettermann
Message:

Configure live payment and remove ICT split amount data again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py

    r8641 r8644  
    3434from waeup.fceokene.interfaces import MessageFactory as _
    3535
    36 PRODUCT_ID = '00'
     36PRODUCT_ID = '83'
    3737SITE_NAME = 'fceokene-kofa.waeup.org'
    3838PROVIDER_ACCT = '0026781725'
    3939PROVIDER_BANK_ID = '31'
    4040PROVIDER_ITEM_NAME = 'BT Education'
    41 ICT_ACCT = '6216801058'
    42 ICT_BANK_ID = '117'
    43 ICT_ITEM_NAME = 'FCEOkene ICT'
    4441INSTITUTION_NAME = 'FCEOkene'
    4542CURRENCY = '566'
     
    244241    site_name = SITE_NAME
    245242    currency = CURRENCY
    246     pay_item_id = '0000'
     243    pay_item_id = '8303'
    247244    product_id = PRODUCT_ID
    248245
     
    263260        xmldict['detail_ref'] = self.context.p_id
    264261        # Provider data
    265         xmldict['provider_amt'] = 100 * 365
     262        xmldict['provider_amt'] = 100 * 500
    266263        xmldict['provider_acct'] = PROVIDER_ACCT
    267264        xmldict['provider_bank_id'] = PROVIDER_BANK_ID
    268265        xmldict['provider_item_name'] = PROVIDER_ITEM_NAME
    269         # ICT data
    270         xmldict['ict_amt'] = 100 * 135
    271         xmldict['ict_acct'] = ICT_ACCT
    272         xmldict['ict_bank_id'] = ICT_BANK_ID
    273         xmldict['ict_item_name'] = ICT_ITEM_NAME
    274266        # 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)
    277268        xmldict['institution_acct'] = '1012415659'
    278269        xmldict['institution_bank_id'] = '117'
     
    284275<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" />
    285276<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" />
    287277</item_details>
    288278</payment_item_detail>""" % xmldict
Note: See TracChangeset for help on using the changeset viewer.