Ignore:
Timestamp:
2 Dec 2021, 13:28:04 (3 years ago)
Author:
Henrik Bettermann
Message:

Set Interswitch test parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py

    r16723 r16731  
    3131from kofacustom.unidel.interfaces import MessageFactory as _
    3232
    33 PRODUCT_ID = '' # must be provided by Interswitch
     33PRODUCT_ID = '6207' # must be provided by Interswitch
    3434SITE_NAME = 'unidel.waeup.org'
    3535PROVIDER_ACCT = '00000000'
     
    3838INSTITUTION_NAME = 'UNIDEL'
    3939CURRENCY = '566'
    40 GATEWAY_AMT = 300.0
    41 MAC = '' # must be provided by Interswitch
     40GATEWAY_AMT = 250.0
     41MAC = 'CEF793CBBE838AA0CBB29B74D571113B4EA6586D3BA77E7CFA0B95E278364EFC4526ED7BD255A366CDDE11F1F607F0F844B09D93B16F7CFE87563B2272007AB3' # must be provided by Interswitch
    4242
    4343#POST_ACTION = 'https://webpay.interswitchng.com/paydirect/pay'
     
    8989        xmldict['provider_item_name'] = PROVIDER_ITEM_NAME
    9090        # Institution data
    91         xmldict['institution_acct'] = '00000000'
    92         xmldict['institution_bank_id'] = '00'
     91        xmldict['institution_acct'] = '1216063205'
     92        xmldict['institution_bank_id'] = '117'
    9393        provider_amt = 0.0
    94         self.pay_item_id = '0000' # must be provided by Interswitch
     94        self.pay_item_id = '101' # must be provided by Interswitch
    9595        xmldict['provider_amt'] = 100 * provider_amt
    9696        xmldict['institution_item_name'] = self.context.category
     
    134134    site_name = SITE_NAME
    135135    currency = CURRENCY
    136     pay_item_id = '0000' # must be provided by Interswitch
     136    pay_item_id = '101' # must be provided by Interswitch
    137137    product_id = PRODUCT_ID
    138138    mac = MAC
     
    159159        xmldict = {}
    160160        provider_amt = 400.0
    161         xmldict['institution_acct'] = '00000000000'
    162         xmldict['institution_bank_id'] = '00'
     161        xmldict['institution_acct'] = '1216063205'
     162        xmldict['institution_bank_id'] = '117'
    163163        xmldict['detail_ref'] = self.context.p_id
    164164        xmldict['provider_amt'] = 100 * provider_amt
Note: See TracChangeset for help on using the changeset viewer.