Changeset 16490


Ignore:
Timestamp:
21 May 2021, 10:30:29 (3 years ago)
Author:
Henrik Bettermann
Message:

Initialize customization of PAYDirect components.

File:
1 edited

Legend:

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

    r16434 r16490  
    2626    InterswitchPaymentVerifyWebservicePageStudent,
    2727    InterswitchPageStudent, InterswitchPageApplicant,
     28    )
     29from kofacustom.nigeria.interswitch.paydirectbrowser import (
     30    PAYDirectPageStudent, PAYDirectPageApplicant
    2831    )
    2932from kofacustom.iuokada.students.interfaces import ICustomStudentOnlinePayment
     
    270273    gateway_url = URL
    271274    mac = MAC
     275
     276
     277# PAYDirect added on 19/05/2021
     278
     279class CustomPAYDirectPageStudent(PAYDirectPageStudent):
     280    """Inform student how to proceed
     281    """
     282    grok.context(ICustomStudentOnlinePayment)
     283    gateway_amt = GATEWAY_AMT
     284    #merchant_id = MERCHANT_ID
     285    #gateway_url = PAYDIRECT_URL
     286    #gateway_host = PAYDIRECT_HOST
     287    https = True
     288
     289class CustomPAYDirectPageApplicant(PAYDirectPageApplicant):
     290    """ Inform applicant how to proceed.
     291    """
     292    grok.context(ICustomApplicantOnlinePayment)
     293    gateway_amt = GATEWAY_AMT
     294    #merchant_id = MERCHANT_ID
     295    #gateway_url = PAYDIRECT_URL
     296    #gateway_host = PAYDIRECT_HOST
     297    https = True
Note: See TracChangeset for help on using the changeset viewer.