Index: main/waeup.sirp/trunk/src/waeup/sirp/payments/payment.py
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/payments/payment.py	(revision 6873)
+++ main/waeup.sirp/trunk/src/waeup/sirp/payments/payment.py	(revision 6875)
@@ -20,6 +20,4 @@
 from datetime import datetime
 from grok import index
-from zope.component.interfaces import IFactory
-from zope.interface import implementedBy
 from waeup.sirp.payments.interfaces import (
     IPayment, ISCPayment, IOnlinePayment)
@@ -73,17 +71,2 @@
 
 OnlinePayment = attrs_to_fields(OnlinePayment)
-
-# Online payments must be importable. So we might need a factory.
-class OnlinePaymentFactory(grok.GlobalUtility):
-    """A factory for online payments.
-    """
-    grok.implements(IFactory)
-    grok.name(u'waeup.OnlinePayment')
-    title = u"Create a new online payment.",
-    description = u"This factory instantiates new online payment instances."
-
-    def __call__(self, *args, **kw):
-        return OnlinePayment()
-
-    def getInterfaces(self):
-        return implementedBy(OnlinePayment)
Index: main/waeup.sirp/trunk/src/waeup/sirp/payments/tests.py
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/payments/tests.py	(revision 6873)
+++ main/waeup.sirp/trunk/src/waeup/sirp/payments/tests.py	(revision 6875)
@@ -22,5 +22,5 @@
 from waeup.sirp.payments.container import PaymentsContainer
 from waeup.sirp.payments.payment import (
-    SCPayment, OnlinePayment, OnlinePaymentFactory)
+    SCPayment, OnlinePayment)
 from waeup.sirp.testing import (FunctionalLayer, FunctionalTestCase)
 
@@ -64,23 +64,2 @@
         self.assertRaises(
             NotImplementedError, container.clear)
-
-class OnlinePaymentFactoryTest(FunctionalTestCase):
-
-    layer = FunctionalLayer
-
-    def setUp(self):
-        super(OnlinePaymentFactoryTest, self).setUp()
-        self.factory = OnlinePaymentFactory()
-        return
-
-    def tearDown(self):
-        super(OnlinePaymentFactoryTest, self).tearDown()
-        return
-
-    def test_factory(self):
-        obj = self.factory()
-        assert isinstance(obj, OnlinePayment)
-
-    def test_getInterfaces(self):
-        implemented_by = self.factory.getInterfaces()
-        assert implemented_by.isOrExtends(IOnlinePayment)
