Ignore:
Timestamp:
29 Oct 2016, 16:45:14 (8 years ago)
Author:
Henrik Bettermann
Message:

Set Interswitch surcharge boundary values.

File:
1 edited

Legend:

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

    r14231 r14240  
    166166            xmldict['institution_acct'] = SPECIAL_PAYMENT_PARAMS[self.context.p_category][3]
    167167            xmldict['institution_bank_id'] = SPECIAL_PAYMENT_PARAMS[self.context.p_category][4]
    168             if self.context.amount_auth <= 5075.0:
     168            if self.context.amount_auth <= 2030.0:
    169169                gateway_amt = round(0.015 * self.context.amount_auth, 2)
    170170        elif 'maintenance' in self.context.p_category:
     
    178178            xmldict['institution_acct'] = "0106259811"
    179179            xmldict['institution_bank_id'] = '10'
    180             if self.context.amount_auth <= 5075.0:
     180            if self.context.amount_auth <= 5077.0:
    181181                gateway_amt = round(0.015 * self.context.amount_auth, 2)
    182182        else:
     
    278278                xmldict['institution_acct'] = SPECIAL_PAYMENT_PARAMS[self.context.p_category][3]
    279279                xmldict['institution_bank_id'] = SPECIAL_PAYMENT_PARAMS[self.context.p_category][4]
    280                 if self.context.amount_auth <= 5075.0:
     280                if self.context.amount_auth <= 5076.0:
    281281                    gateway_amt = round(0.015 * self.context.amount_auth, 2)
    282282        xmldict['dalash_amt'] = 100 * dalash_amt
Note: See TracChangeset for help on using the changeset viewer.