Index: /main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py
===================================================================
--- /main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py	(revision 14750)
+++ /main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py	(revision 14751)
@@ -46,14 +46,20 @@
     #amount='1000'
     https = True
-    lineitems = (
-                  {"lineItemsId":"itemid1","beneficiaryName":"Klaus Mueller",
-                  "beneficiaryAccount":"6020067886","bankCode":"011",
-                  "beneficiaryAmount":"500","deductFeeFrom":"1"},
-                  {"lineItemsId":"itemid2","beneficiaryName":"Werner Rumm",
-                  "beneficiaryAccount":"0360883515","bankCode":"050",
-                  "beneficiaryAmount":"500","deductFeeFrom":"0"}
-                )
 
     action = 'http://www.remitademo.net/remita/ecomm/finalize.reg'
+
+    @property
+    def lineitems(self):
+        ba1 = self.context.amount_auth / 2
+        ba2 = self.context.amount_auth / 2
+        lineitems = (
+                      {"lineItemsId":"itemid1","beneficiaryName":"Klaus Mueller",
+                      "beneficiaryAccount":"6020067886","bankCode":"011",
+                      "beneficiaryAmount":str(ba1),"deductFeeFrom":"1"},
+                      {"lineItemsId":"itemid2","beneficiaryName":"Werner Rumm",
+                      "beneficiaryAccount":"0360883515","bankCode":"050",
+                      "beneficiaryAmount":str(ba2),"deductFeeFrom":"0"}
+                    )
+        return lineitems
 
     def update(self):
