Ignore:
Timestamp:
19 Aug 2016, 16:02:00 (8 years ago)
Author:
Henrik Bettermann
Message:

Change app. taypes and categories.

Configure Interswitch test environment parameters.

Location:
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/applicants/utils.py

    r14091 r14097  
    3131
    3232    APP_TYPES_DICT = {
    33         'app': ['General Studies', 'APP'],
    34         'nce': ['NCE Programmes', 'NCE'],
    35         'pre': ['Pre-Degree Programmes', 'PRE'],
    36         }
     33         'app': ['General Studies', 'APP'],
     34         'nce': ['NCE Programmes', 'NCE'],
     35         'ncept': ['NCE Part-Time Programmes', 'NCE'],
     36         'degree': ['Degree Programmes', 'DEG'],
     37         }
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/interswitch/browser.py

    r14092 r14097  
    3030from kofacustom.coewarri.interfaces import MessageFactory as _
    3131
    32 PRODUCT_ID = '57'
     32PRODUCT_ID = '6207'
    3333SITE_NAME = 'coewarri-kofa.waeup.org'
    3434PROVIDER_ACCT = '0137712635'
     
    3737INSTITUTION_NAME = 'COE Warri'
    3838CURRENCY = '566'
    39 GATEWAY_AMT = 250.0
    40 #QUERY_URL = 'https://webpay.interswitchng.com/paydirect/services/TransactionQueryURL.aspx'
    41 #QUERY_URL = 'https://testwebpay.interswitchng.com/test_paydirect/services/TransactionQueryURL.aspx'
    42 POST_ACTION = 'https://webpay.interswitchng.com/paydirect/webpay/pay.aspx'
    43 #POST_ACTION = 'https://testwebpay.interswitchng.com/test_paydirect/webpay/pay.aspx'
    44 
    45 HOST = 'webpay.interswitchng.com'
    46 #HOST = 'testwebpay.interswitchng.com'
    47 URL = '/paydirect/services/TransactionQueryWs.asmx'
    48 #URL = '/test_paydirect/services/TransactionQueryWs.asmx'
     39GATEWAY_AMT = 300.0
     40POST_ACTION = 'https://stageserv.interswitchng.com/test_paydirect/pay'
     41#POST_ACTION = 'https://webpay.interswitchng.com/paydirect/pay'
     42
     43#HOST = 'webpay.interswitchng.com'
     44HOST = 'stageserv.interswitchng.com'
     45HTTPS = True
     46
     47#URL = '/paydirect/api/v1/gettransaction.json'
     48URL = '/test_paydirect/api/v1/gettransaction.json'
     49
    4950httplib.HTTPSConnection.debuglevel = 0
    5051HTTPS = True
     
    121122    site_name = SITE_NAME
    122123    currency = CURRENCY
    123     pay_item_id = '0000'
    124     product_id = PRODUCT_ID
    125     mac = ''
     124    pay_item_id = '101'
     125    product_id = PRODUCT_ID
     126    mac = 'CEF793CBBE838AA0CBB29B74D571113B4EA6586D3BA77E7CFA0B95E278364EFC4526ED7BD255A366CDDE11F1F607F0F844B09D93B16F7CFE87563B2272007AB3'
    126127
    127128    def update(self):
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/utils/utils.py

    r14091 r14097  
    2525
    2626    APP_CATS_DICT = {
    27         'basic': 'UTME, DE, PCE, PRENCE',
    28         'no': 'No Application',
    29         'pre': 'Pre-Degree Programme',
    30         'nce': 'NCE Programme',
    31         }
     27         'basic': 'UTME, DE, PCE, PRENCE',
     28         'no': 'No Application',
     29         'nce': 'NCE Programme',
     30         'ncept': 'NCE Part-Time Programme',
     31         }
Note: See TracChangeset for help on using the changeset viewer.