- Timestamp:
- 8 Nov 2018, 12:45:03 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/interswitch/browser.py
r15137 r15218 49 49 httplib.HTTPSConnection.debuglevel = 0 50 50 HTTPS = True 51 52 SPECIAL_PAYMENT_PARAMS = { 53 54 'conv_nd': ('101', 2000.0, '0031913976', '121'), 55 'conv_hnd': ('101', 2000.0, '0031913976', '121'), 56 } 57 51 58 52 59 class CustomInterswitchPageStudent(InterswitchPageStudent): … … 155 162 xmldict['institution_item_name'] = self.context.category 156 163 xmldict['institution_name'] = INSTITUTION_NAME 164 if self.context.p_category in SPECIAL_PAYMENT_PARAMS.keys(): 165 self.pay_item_id = SPECIAL_PAYMENT_PARAMS[self.context.p_category][0] 166 provider_amt = SPECIAL_PAYMENT_PARAMS[self.context.p_category][1] 167 xmldict['institution_acct'] = SPECIAL_PAYMENT_PARAMS[self.context.p_category][2] 168 xmldict['institution_bank_id'] = SPECIAL_PAYMENT_PARAMS[self.context.p_category][3] 157 169 # Interswitch amount is not part of the xml data 158 170 if provider_amt == 0:
Note: See TracChangeset for help on using the changeset viewer.