Index: /main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py	(revision 10842)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py	(revision 10843)
@@ -893,5 +893,5 @@
         return
 
-    def test_pay_special_fee(self):
+    def prepare_special_container(self):
         # Add special application container
         container_name = u'special%s' % session_1
@@ -913,4 +913,5 @@
         # because managers are allowed to edit this required field
         applicant.reg_number = u'12345'
+        self.special_applicant = applicant
         self.app['applicants'][container_name].addApplicant(applicant)
         IUserAccount(
@@ -922,10 +923,15 @@
         configuration.transcript_fee = 200.0
         self.app['configuration'].addSessionConfiguration(configuration)
+
+
+    def test_pay_special_fee(self):
+        self.prepare_special_container()
         # Login
         self.browser.open(self.login_path)
         self.browser.getControl(
-            name="form.login").value = applicant.applicant_id
+            name="form.login").value = self.special_applicant.applicant_id
         self.browser.getControl(name="form.password").value = 'apwd'
         self.browser.getControl("Login").click()
+        applicant_path = self.browser.url
         self.browser.getLink("Edit application record").click()
         self.browser.getControl(name="form.firstname").value = 'John'
@@ -947,6 +953,19 @@
         self.assertTrue(
             '<span>200.0</span>' in self.browser.contents)
-        return
-
+        self.browser.getLink("Logout").click()
+        # Login as manager
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        self.browser.open(applicant_path + '/manage')
+        # When unselecting special_application, the payment ticket
+        # can still be created.
+        self.browser.getControl(name="form.special_application").value = [
+            '']
+        self.browser.getControl("Save").click()
+        self.browser.getControl("Add online payment ticket").click()
+        self.assertMatches('...Payment ticket created...',
+                           self.browser.contents)
+        self.assertMatches('...<span>--</span>...',
+                           self.browser.contents)
+        return
 
     def test_duplicate_choice(self):
Index: /main/waeup.kofa/trunk/src/waeup/kofa/applicants/utils.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/applicants/utils.py	(revision 10842)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/applicants/utils.py	(revision 10843)
@@ -68,4 +68,6 @@
             return
         payment.amount_auth = session_config.application_fee
+        if payment.amount_auth in (0.0, None):
+            return _('Amount could not be determined.'), None
         return
 
