Changeset 9626 for main/waeup.kwarapoly


Ignore:
Timestamp:
13 Nov 2012, 08:55:19 (12 years ago)
Author:
Henrik Bettermann
Message:

Configure pay_item_id

Location:
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch
Files:
2 edited

Legend:

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

    r9617 r9626  
    260260
    261261        elif 'maintenance' in self.context.p_category:
    262             self.pay_item_id = '000'
     262            self.pay_item_id = '102'
    263263            xmldict['institution_acct'] = "0039050937"
    264264            xmldict['institution_bank_id'] = '31'
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py

    r9617 r9626  
    168168                           self.browser.contents)
    169169        self.assertMatches(
     170            '...<input type="hidden" name="pay_item_id" value="102" />...',
     171            self.browser.contents)
     172        self.assertMatches(
    170173            '...<input type="hidden" name="amount" value="98700.0" />...',
    171174            self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.