Ignore:
Timestamp:
6 Dec 2021, 23:16:11 (3 years ago)
Author:
Henrik Bettermann
Message:

Go live.

File:
1 edited

Legend:

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

    r16735 r16736  
    3131from kofacustom.unidel.interfaces import MessageFactory as _
    3232
    33 PRODUCT_ID = '6207' # must be provided by Interswitch
     33PRODUCT_ID = '22153701' # must be provided by Interswitch
    3434SITE_NAME = 'unidel.waeup.org'
    3535PROVIDER_ACCT = '0213065415'
     
    3838INSTITUTION_NAME = 'UNIDEL'
    3939CURRENCY = '566'
    40 GATEWAY_AMT = 300.0
    41 MAC = 'CEF793CBBE838AA0CBB29B74D571113B4EA6586D3BA77E7CFA0B95E278364EFC4526ED7BD255A366CDDE11F1F607F0F844B09D93B16F7CFE87563B2272007AB3' # must be provided by Interswitch
    42 
    43 #POST_ACTION = 'https://webpay.interswitchng.com/paydirect/pay'
    44 POST_ACTION = 'https://sandbox.interswitchng.com/webpay/pay'
    45 #HOST = 'webpay.interswitchng.com'
    46 HOST = 'sandbox.interswitchng.com'
    47 #URL = '/paydirect/api/v1/gettransaction.json'
    48 URL = '/webpay/api/v1/gettransaction.json'
     40GATEWAY_AMT = 250.0
     41#MAC = 'CEF793CBBE838AA0CBB29B74D571113B4EA6586D3BA77E7CFA0B95E278364EFC4526ED7BD255A366CDDE11F1F607F0F844B09D93B16F7CFE87563B2272007AB3'
     42MAC = 'Lfj58PyWS6MvPz65zIbofZNoAn89fZAjtnsEWbTof73OyHQH7rpJPHWD2m4cekDoowJ8nqQCn6ay2lopzKBOekFsMfzkXG6KYGRuyhMQq4bK7wDNaWqpxeZl3fMumNmi'
     43
     44POST_ACTION = 'https://webpay.interswitchng.com/collections/w/pay'
     45#POST_ACTION = 'https://sandbox.interswitchng.com/webpay/pay'
     46HOST = 'webpay.interswitchng.com'
     47#HOST = 'sandbox.interswitchng.com'
     48URL = '/collections/api/v1/gettransaction.json'
     49#URL = '/webpay/api/v1/gettransaction.json'
    4950
    5051httplib.HTTPSConnection.debuglevel = 0
     
    9293        xmldict['institution_bank_id'] = '117'
    9394        provider_amt = 0.0
    94         self.pay_item_id = '101' # must be provided by Interswitch
     95        self.pay_item_id = 'Default_Payable_MX47126' # must be provided by Interswitch
    9596        xmldict['provider_amt'] = 100 * provider_amt
    9697        xmldict['institution_item_name'] = self.context.category
     
    134135    site_name = SITE_NAME
    135136    currency = CURRENCY
    136     pay_item_id = '101' # must be provided by Interswitch
     137    pay_item_id = 'Default_Payable_MX47126' # must be provided by Interswitch
    137138    product_id = PRODUCT_ID
    138139    mac = MAC
Note: See TracChangeset for help on using the changeset viewer.