Index: /main/ikobacustom.pcn/trunk/etc/paypal-testing.conf-sample
===================================================================
--- /main/ikobacustom.pcn/trunk/etc/paypal-testing.conf-sample	(revision 12673)
+++ /main/ikobacustom.pcn/trunk/etc/paypal-testing.conf-sample	(revision 12673)
@@ -0,0 +1,9 @@
+# paypal credentials
+
+[rest-client]
+# id and secret you got from PayPal (long hex strings)
+id = invalid
+secret = invalid
+
+# valid values: sandbox, live
+mode = sandbox
Index: /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/payments.py
===================================================================
--- /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/payments.py	(revision 12673)
+++ /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/payments.py	(revision 12673)
@@ -0,0 +1,14 @@
+import grok
+from waeup.ikoba.payments.interfaces import IPaymentGatewayServicesLister
+from waeup.ikoba.payments.payment import get_payment_providers
+
+
+class PCNPaymentGatewayServicesLister(grok.GlobalUtility):
+
+    grok.implements(IPaymentGatewayServicesLister)
+
+    def __call__(self):
+        full_set = get_payment_providers()
+        filtered_set = [(key, util) for key, util in full_set.items()
+                        if key in [u'demo_creditcard']]
+        return dict(filtered_set)
Index: /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/testing.py
===================================================================
--- /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/testing.py	(revision 12672)
+++ /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/testing.py	(revision 12673)
@@ -24,4 +24,5 @@
 from waeup.ikoba.testing import FunctionalTestCase
 
+
 # Some funcional layer that groks ikobacustom.pcn.
 ftesting_zcml = os.path.join(
@@ -29,4 +30,5 @@
 FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer',
                             allow_teardown=True)
+
 
 def samples_dir():
Index: /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/tests/__init__.py
===================================================================
--- /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/tests/__init__.py	(revision 12673)
+++ /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/tests/__init__.py	(revision 12673)
@@ -0,0 +1,1 @@
+# make this a package.
Index: /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/tests/test_payments.py
===================================================================
--- /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/tests/test_payments.py	(revision 12673)
+++ /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/tests/test_payments.py	(revision 12673)
@@ -0,0 +1,22 @@
+from zope.component import queryUtility
+from waeup.ikoba.payments.interfaces import (
+    IPaymentGatewayServicesLister, IPaymentGatewayService,
+)
+from ikobacustom.pcn.testing import FunctionalTestCase, FunctionalLayer
+from ikobacustom.pcn.payments import PCNPaymentGatewayServicesLister
+
+
+class PaymentsTests(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def test_get_filtered_payment_providers(self):
+        result = PCNPaymentGatewayServicesLister()()
+        assert len(result) >= 0
+        for service in result.values():
+            assert IPaymentGatewayService.providedBy(service)
+
+    def test_filtered_payment_providers_registered(self):
+        util = queryUtility(IPaymentGatewayServicesLister)
+        assert util is not None
+        assert isinstance(util, PCNPaymentGatewayServicesLister)
