Ignore:
Timestamp:
13 Dec 2022, 18:46:57 (2 years ago)
Author:
Henrik Bettermann
Message:

Remove LPNG parameters.

Add first test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/webcheckoutbrowser.py

    r17215 r17221  
    205205    submit_button = _('Submit')
    206206
    207     action = 'https://newwebpay.interswitchng.com/collections/w/pay'
    208     currency = '566'
    209     pay_item_id = 'Default_Payable_MX76823'
    210     merchant_code = 'MX76823'
     207    action = None
     208    currency = None
     209    pay_item_id = None
     210    merchant_code = None
    211211    gateway_amt = GATEWAY_AMT
    212212
     
    261261    grok.require('waeup.payApplicant')
    262262
    263     merchant_code = 'MX76823'
    264     gateway_host = 'webpay.interswitchng.com'
    265     gateway_url = '/collections/api/v1/gettransaction.json'
     263    merchant_code = None
     264    gateway_host = None
     265    gateway_url = None
    266266    https = True
    267267
     
    295295        return
    296296
    297 class WebCheckoutConfirmTransactionRequestPageStudent(UtilityView, grok.View):
     297class WebCheckoutConfirmTransactionPageStudent(UtilityView, grok.View):
    298298    """ Request webservice view for the WebCheckout gateway
    299299    """
     
    302302    grok.require('waeup.payStudent')
    303303
    304     merchant_code = 'MX76823'
    305     gateway_host = 'webpay.interswitchng.com'
    306     gateway_url = '/collections/api/v1/gettransaction.json'
     304    merchant_code = None
     305    gateway_host = None
     306    gateway_url = None
    307307    https = True
    308308
Note: See TracChangeset for help on using the changeset viewer.