Ignore:
Timestamp:
14 Aug 2017, 10:48:09 (7 years ago)
Author:
Henrik Bettermann
Message:

Configure serviceTypeId for application payments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py

    r14799 r14800  
    194194    def serviceTypeId(self):
    195195        applicant = self.context.__parent__
     196        if applicant.__parent__.prefix.startswith('dp'):
     197            return '2067080314'
     198        if applicant.__parent__.prefix.startswith('pg'):
     199            return '2067086157'
     200        if applicant.__parent__.prefix == 'pre':
     201            return '1947201668'
     202        if applicant.__parent__.prefix in ('pude','putme','cbt',
     203                                           'ab','ak','akj'):
     204            return '2067089446'
    196205        return ''
    197206
    198207    @property
    199     def lineitems(self):
    200         demo_lineitems = (
     208    def demo_lineitems(self):
     209        lineitems = (
    201210                      {"lineItemsId":"itemid1","beneficiaryName":"Klaus Mueller",
    202211                      "beneficiaryAccount":"6020067886","bankCode":"011",
Note: See TracChangeset for help on using the changeset viewer.