Changeset 18233


Ignore:
Timestamp:
27 Jan 2026, 21:12:04 (10 months ago)
Author:
Henrik Bettermann
Message:

Configure payment for SUP students.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py

    r18057 r18233  
    3232PRODUCT_ID = '83'
    3333SITE_NAME = 'fceokene-kofa.waeup.org'
    34 PROVIDER_ACCT = '0773411069'
    35 PROVIDER_BANK_ID = '31'
     34PROVIDER_ACCT = '2028964403'
     35PROVIDER_BANK_ID = '8'
    3636PROVIDER_ITEM_NAME = 'WAeAC'
    3737INSTITUTION_NAME = 'FCEOkene'
    38 INSTITUTION_ACCT = '2003670143'
    39 INSTITUTION_BANK_ID = '8'
     38INSTITUTION_ACCT = '0270100161017'
     39INSTITUTION_BANK_ID = '000'
    4040CURRENCY = '566'
    4141GATEWAY_AMT = 150.0
    … …  
    7474        xmldict = self.xmldict
    7575        # Provider data
    76         provider_amt = 1600.0
     76        provider_amt = 0.0
    7777        xmldict['detail_ref'] = self.context.p_id
    7878        xmldict['provider_acct'] = PROVIDER_ACCT
    … …  
    8787        if self.context.p_category in ('schoolfee', 'third_semester', 'reg2sandwich'):
    8888            self.pay_item_id = '8302'
     89            provider_amt = 1600.0
     90            if self.context.student.faccode == 'SUP':
     91                provider_amt = 7000.0
    8992        elif 'maintenance' in self.context.p_category:
    90             provider_amt = 0.0
    9193            self.pay_item_id = '8300'
    9294        elif self.context.p_category == 'clearance':
    93             provider_amt = 0.0
    9495            self.pay_item_id = '8304'
    95         if self.context.p_item == 'Balance' or self.context.p_category in ('third_semester', 'reg2sandwich'):
    96             provider_amt = 0.0
    9796        xmldict['institution_amt'] = 100 * (
    9897            self.context.amount_auth - GATEWAY_AMT - provider_amt)
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py

    r18228 r18233  
    198198                amount = 35000
    199199
     200            # new degree programme
     201            elif student.faccode == 'SUP':
     202                amount = 85500
     203
    200204            # UG
    201205            elif student.current_mode == 'ug_ft':
Note: See TracChangeset for help on using the changeset viewer.