Changeset 14751 for main/waeup.uniben/trunk/src/waeup/uniben
- Timestamp:
- 2 Aug 2017, 11:38:25 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py
r14746 r14751 46 46 #amount='1000' 47 47 https = True 48 lineitems = (49 {"lineItemsId":"itemid1","beneficiaryName":"Klaus Mueller",50 "beneficiaryAccount":"6020067886","bankCode":"011",51 "beneficiaryAmount":"500","deductFeeFrom":"1"},52 {"lineItemsId":"itemid2","beneficiaryName":"Werner Rumm",53 "beneficiaryAccount":"0360883515","bankCode":"050",54 "beneficiaryAmount":"500","deductFeeFrom":"0"}55 )56 48 57 49 action = 'http://www.remitademo.net/remita/ecomm/finalize.reg' 50 51 @property 52 def lineitems(self): 53 ba1 = self.context.amount_auth / 2 54 ba2 = self.context.amount_auth / 2 55 lineitems = ( 56 {"lineItemsId":"itemid1","beneficiaryName":"Klaus Mueller", 57 "beneficiaryAccount":"6020067886","bankCode":"011", 58 "beneficiaryAmount":str(ba1),"deductFeeFrom":"1"}, 59 {"lineItemsId":"itemid2","beneficiaryName":"Werner Rumm", 60 "beneficiaryAccount":"0360883515","bankCode":"050", 61 "beneficiaryAmount":str(ba2),"deductFeeFrom":"0"} 62 ) 63 return lineitems 58 64 59 65 def update(self):
Note: See TracChangeset for help on using the changeset viewer.