Ignore:
Timestamp:
1 Nov 2019, 11:14:14 (5 years ago)
Author:
Henrik Bettermann
Message:

Customize Payoutlet stuff.

Location:
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
Files:
2 edited

Legend:

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

    r15601 r15733  
    2323    EtranzactPageStudent, EtranzactReceiveResponseStudent,
    2424    EtranzactRequestPaymentStatusPageStudent)
     25from kofacustom.nigeria.etranzact.payoutletbrowser import (
     26    EtranzactQueryHistoryPageStudent, EtranzactQueryHistoryPageApplicant)
    2527
    2628# Temporarily we can use the test portal like in kofacustom.nigeria
     
    7981    logo_url = LOGO_URL
    8082
     83class CustomEtranzactQueryHistoryPageStudent(EtranzactQueryHistoryPageStudent):
     84    """ Query history of Etranzact payments
     85    """
     86    terminal_id = TERMINAL_ID
     87    host = HOST
     88    https = HTTPS
    8189
    82 
     90class CustomEtranzactQueryHistoryPageApplicant(EtranzactQueryHistoryPageApplicant):
     91    """ Query history of Etranzact payments
     92    """
     93    terminal_id = TERMINAL_ID
     94    host = HOST
     95    https = HTTPS
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/tests/test_export.py

    r15704 r15733  
    103103        result = open(self.outfile, 'rb').read()
    104104        self.assertMatches(
    105             'ac,amount_auth,creation_date,gateway_amt,p_category,p_combi,p_current,'
     105            'ac,amount_auth,creation_date,gateway_amt,net_amt,p_category,p_combi,p_current,'
    106106            'p_id,p_item,p_level,p_session,p_state,payment_date,provider_amt,'
    107107            'r_amount_approved,r_card_num,r_code,r_company,r_desc,'
    108108            'r_pay_reference,thirdparty_amt,student_id,state,'
    109109            'current_session\r\n'
    110             '666,12.12,%s-04-01 13:12:01#,,schoolfee,[],1,my-id,p-item,'
     110            '666,12.12,%s-04-01 13:12:01#,,,schoolfee,[],1,my-id,p-item,'
    111111            '100,%s,paid,%s-04-01 14:12:01#,,12.12,'
    112112            '789,r-code,interswatch,,,,A111111,created,2012\r\n'
Note: See TracChangeset for help on using the changeset viewer.