Changeset 16089


Ignore:
Timestamp:
11 May 2020, 14:21:06 (5 years ago)
Author:
Henrik Bettermann
Message:

Temporarily switch to the demo gateway.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py

    r15938 r16089  
    2828
    2929# Temporarily we can use the test portal like in kofacustom.nigeria
    30 MERCHANTID = '2067163382'
    31 HOST = 'login.remita.net'
    32 HTTPS = True
    33 API_KEY = '309418'
    34 SERVICETYPEID = '4430731'
     30
     31from kofacustom.nigeria.remita.tests import (
     32    MERCHANTID,
     33    HOST,
     34    HTTPS,
     35    API_KEY,
     36    SERVICETYPEID
     37    )
     38
     39#MERCHANTID = '2067163382'
     40#HOST = 'login.remita.net'
     41#HTTPS = True
     42#API_KEY = '309418'
     43#SERVICETYPEID = '4430731'
    3544
    3645class CustomRemitaRequestPaymentStatusPageStudent(
     
    110119
    111120    @property
    112     def demo_lineitems(self):
     121    def lineitems(self):
    113122        ba1 = self.context.amount_auth / 2
    114123        ba2 = self.context.amount_auth / 2
     
    129138
    130139    @property
    131     def lineitems(self):
     140    def live_lineitems(self):
    132141        inst_bankcode = "000"
    133142        inst_acct = "0040217361011"
     
    246255
    247256    @property
    248     def demo_lineitems(self):
     257    def lineitems(self):
    249258        lineitems = (
    250259                      {"lineItemsId":"itemid1","beneficiaryName":"Klaus Mueller",
     
    258267
    259268    @property
    260     def lineitems(self):
     269    def demo_lineitems(self):
    261270        provider_amt = 1000.0
    262271        if self.context.__parent__.applicant_id.startswith('pre'):
Note: See TracChangeset for help on using the changeset viewer.