Changeset 14257 for main/waeup.kwarapoly/trunk/src/waeup/kwarapoly
- Timestamp:
- 4 Nov 2016, 06:03:08 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser.py
r14254 r14257 166 166 xmldict['institution_acct'] = SPECIAL_PAYMENT_PARAMS[self.context.p_category][3] 167 167 xmldict['institution_bank_id'] = SPECIAL_PAYMENT_PARAMS[self.context.p_category][4] 168 if self.context.amount_auth <= 2030.0:169 gateway_amt = round(0.015 * self.context.amount_auth, 2)170 168 elif 'maintenance' in self.context.p_category: 171 169 self.pay_item_id = '102' … … 178 176 xmldict['institution_acct'] = "0106259811" 179 177 xmldict['institution_bank_id'] = '10' 180 if self.context.amount_auth <= 5077.0:181 gateway_amt = round(0.015 * self.context.amount_auth, 2)182 178 else: 183 179 xmldict['institution_acct'] = "0000000000000" 184 180 xmldict['institution_bank_id'] = '0' 181 182 if self.pay_item_id in ('122', '123', '132', '137', '141', 183 '142', '143', '144', '146', '147',): 184 gateway_amt = round(0.015 * self.context.amount_auth, 2) 185 185 186 186 xmldict['dalash_amt'] = 100 * dalash_amt … … 278 278 xmldict['institution_acct'] = SPECIAL_PAYMENT_PARAMS[self.context.p_category][3] 279 279 xmldict['institution_bank_id'] = SPECIAL_PAYMENT_PARAMS[self.context.p_category][4] 280 if self.context.amount_auth <= 2030.0: 281 gateway_amt = round(0.015 * self.context.amount_auth, 2) 280 281 if self.pay_item_id in ('122', '123', '132', '137', '141', 282 '142', '143', '144', '146', '147',): 283 gateway_amt = round(0.015 * self.context.amount_auth, 2) 284 282 285 xmldict['dalash_amt'] = 100 * dalash_amt 283 286 xmldict['detail_ref'] = self.context.p_id
Note: See TracChangeset for help on using the changeset viewer.