summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eopayment/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/eopayment/__init__.py b/eopayment/__init__.py
index b4c6402..f02332b 100644
--- a/eopayment/__init__.py
+++ b/eopayment/__init__.py
@@ -11,7 +11,7 @@ from .common import (URL, HTML, FORM, RECEIVED, ACCEPTED, PAID, DENIED,
__all__ = ['Payment', 'URL', 'HTML', 'FORM', 'SIPS',
'SYSTEMPAY', 'SPPLUS', 'TIPI', 'DUMMY', 'get_backend', 'RECEIVED', 'ACCEPTED',
-'PAID', 'DENIED', 'CANCELED', 'CANCELLED', 'ERROR', 'WAITING', 'get_backends']
+'PAID', 'DENIED', 'CANCELED', 'CANCELLED', 'ERROR', 'WAITING', 'get_backends', 'PAYFIP_WS']
SIPS = 'sips'
SIPS2 = 'sips2'
@@ -22,6 +22,7 @@ DUMMY = 'dummy'
OGONE = 'ogone'
PAYBOX = 'paybox'
PAYZEN = 'payzen'
+PAYFIP_WS = 'payfip_ws'
logger = logging.getLogger(__name__)
@@ -30,7 +31,7 @@ def get_backend(kind):
module = importlib.import_module('.' + kind, package='eopayment')
return module.Payment
-__BACKENDS = [ DUMMY, SIPS, SIPS2, SYSTEMPAY, SPPLUS, OGONE, PAYBOX, PAYZEN, TIPI ]
+__BACKENDS = [ DUMMY, SIPS, SIPS2, SYSTEMPAY, SPPLUS, OGONE, PAYBOX, PAYZEN, TIPI, PAYFIP_WS ]
def get_backends():
'''Return a dictionnary mapping existing eopayment backends name to their