summaryrefslogtreecommitdiffstats
path: root/eopayment/__init__.py
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2012-06-03 08:30:48 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2012-10-03 15:30:13 (GMT)
commit3689d539d0b11c398270a70a742b4a3de1c411db (patch)
tree088f920cbbc21e1c204c45d30d3c2e422d326d80 /eopayment/__init__.py
parent1002b95117ca83ccf7577f4a084c244e558b5f03 (diff)
downloadeopayment-3689d539d0b11c398270a70a742b4a3de1c411db.zip
eopayment-3689d539d0b11c398270a70a742b4a3de1c411db.tar.gz
eopayment-3689d539d0b11c398270a70a742b4a3de1c411db.tar.bz2
add more parameters to request()
Diffstat (limited to 'eopayment/__init__.py')
-rw-r--r--eopayment/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/eopayment/__init__.py b/eopayment/__init__.py
index 455dc9b..d8b6069 100644
--- a/eopayment/__init__.py
+++ b/eopayment/__init__.py
@@ -69,7 +69,7 @@ class Payment(object):
self.kind = kind
self.backend = get_backend(kind)(options, logger=logger)
- def request(self, amount, email=None, next_url=None):
+ def request(self, amount, **kwargs):
'''Request a payment to the payment backend.
Arguments:
@@ -100,7 +100,7 @@ class Payment(object):
# present the form in HTML to the user
'''
- return self.backend.request(amount, email=email, next_url=next_url)
+ return self.backend.request(amount, **kwargs)
def response(self, query_string):
'''