Changeset 14726


Ignore:
Timestamp:
26 Jul 2017, 10:46:57 (7 years ago)
Author:
Henrik Bettermann
Message:

Switch to live gateway.

File:
1 edited

Legend:

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

    r14725 r14726  
    3030from kofacustom.dspg.interfaces import MessageFactory as _
    3131
    32 PRODUCT_ID = '6207' # must be provided by Interswitch
     32PRODUCT_ID = '7269' # must be provided by Interswitch
    3333SITE_NAME = 'dspg.waeup.org'
    3434PROVIDER_ACCT = '1010764827'
     
    3939GATEWAY_AMT = 300.0
    4040
    41 #POST_ACTION = 'https://webpay.interswitchng.com/paydirect/pay'
    42 POST_ACTION = 'https://sandbox.interswitchng.com/webpay/pay'
    43 #HOST = 'webpay.interswitchng.com'
    44 HOST = 'sandbox.interswitchng.com'
    45 #URL = '/paydirect/api/v1/gettransaction.json'
    46 URL = '/webpay/api/v1/gettransaction.json'
     41POST_ACTION = 'https://webpay.interswitchng.com/paydirect/pay'
     42#POST_ACTION = 'https://sandbox.interswitchng.com/webpay/pay'
     43HOST = 'webpay.interswitchng.com'
     44#HOST = 'sandbox.interswitchng.com'
     45URL = '/paydirect/api/v1/gettransaction.json'
     46#URL = '/webpay/api/v1/gettransaction.json'
    4747
    4848httplib.HTTPSConnection.debuglevel = 0
     
    120120    site_name = SITE_NAME
    121121    currency = CURRENCY
    122     pay_item_id = '101' # must be provided by Interswitch
    123     product_id = PRODUCT_ID
    124     mac = 'CEF793CBBE838AA0CBB29B74D571113B4EA6586D3BA77E7CFA0B95E278364EFC4526ED7BD255A366CDDE11F1F607F0F844B09D93B16F7CFE87563B2272007AB3'
     122    pay_item_id = '103' # must be provided by Interswitch
     123    product_id = PRODUCT_ID
     124    mac = 'CEF793CBBE838AA0CBB29B74D571113B4EA6586D3BA77E7CFA0B95E278364EFC4526ED7BD255A366CDDE11F1F607F0F844B09D93B16F7CFE87563B2272007AB3D43ED93B7A307B152C7111D04E1F384428057CD1E75428D3A4C5631C28ACB9C8C822A88CA76DEDC5F9A520CF4BFDB2824FF8B207AAFC667DF3CBB13685B66627'
    125125
    126126    def update(self):
Note: See TracChangeset for help on using the changeset viewer.