## $Id: browser.py 15733 2019-11-01 11:14:14Z henrik $ ## ## Copyright (C) 2017 Uli Fouquet & Henrik Bettermann ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## from kofacustom.nigeria.etranzact.applicantsbrowser import ( EtranzactPageApplicant, EtranzactReceiveResponseApplicant, EtranzactRequestPaymentStatusPageApplicant) from kofacustom.nigeria.etranzact.studentsbrowser import ( EtranzactPageStudent, EtranzactReceiveResponseStudent, EtranzactRequestPaymentStatusPageStudent) from kofacustom.nigeria.etranzact.payoutletbrowser import ( EtranzactQueryHistoryPageStudent, EtranzactQueryHistoryPageApplicant) # Temporarily we can use the test portal like in kofacustom.nigeria from kofacustom.nigeria.etranzact.tests import ( HOST, HTTPS, SECRET_KEY, TERMINAL_ID) #HOST = #HTTPS = #SECRET_KEY = #TERMINAL_ID = LOGO_URL = 'https://iuokada.waeup.org/static_custom/iou_logo.png' class CustomEtranzactPageApplicant(EtranzactPageApplicant): host = HOST https = HTTPS secret_key = SECRET_KEY terminal_id = TERMINAL_ID logo_url = LOGO_URL class CustomEtranzactReceiveResponseApplicant(EtranzactReceiveResponseApplicant): secret_key = SECRET_KEY terminal_id = TERMINAL_ID class CustomEtranzactRequestPaymentStatusPageApplicant( EtranzactRequestPaymentStatusPageApplicant): host = HOST https = HTTPS secret_key = SECRET_KEY terminal_id = TERMINAL_ID logo_url = LOGO_URL class CustomEtranzactPageStudent(EtranzactPageStudent): host = HOST https = HTTPS secret_key = SECRET_KEY terminal_id = TERMINAL_ID logo_url = LOGO_URL class CustomEtranzactReceiveResponseStudent(EtranzactReceiveResponseStudent): secret_key = SECRET_KEY terminal_id = TERMINAL_ID class CustomEtranzactRequestPaymentStatusPageStudent( EtranzactRequestPaymentStatusPageStudent): host = HOST https = HTTPS secret_key = SECRET_KEY terminal_id = TERMINAL_ID logo_url = LOGO_URL class CustomEtranzactQueryHistoryPageStudent(EtranzactQueryHistoryPageStudent): """ Query history of Etranzact payments """ terminal_id = TERMINAL_ID host = HOST https = HTTPS class CustomEtranzactQueryHistoryPageApplicant(EtranzactQueryHistoryPageApplicant): """ Query history of Etranzact payments """ terminal_id = TERMINAL_ID host = HOST https = HTTPS