Commits

Bruce Kroeze committed 410572a

getting new paypal form working properly

Comments (0)

Files changed (2)

bursar/gateway/paypal_gateway/processor.py

                 submit['state'] = purchase.bill_state
                 
         ret = []
-        for key, val in submit.items:
-            ret.append('<input type="hidden" name="%s" value="%s"' % (key, val))
+        for key, val in submit.items():
+            ret.append('<input type="hidden" name="%s" value="%s">' % (key, val))
         return mark_safe("\n".join(ret))
 
         return None
         
     @property
-    def partially_paid():
+    def partially_paid(self):
         remaining = self.remaining
         return remaining > 0 and remaining < self.total