summaryrefslogtreecommitdiffstats
path: root/eopayment/systempayv2.py
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2016-02-18 15:05:58 (GMT)
committerSerghei Mihai <smihai@entrouvert.com>2016-02-18 15:29:01 (GMT)
commita7dcc7a5e50f599f4bb35afa7c82578f9189bc2f (patch)
tree5c83bce9574e8a1e3364590995cd649b663dbd3d /eopayment/systempayv2.py
parent3b3f63907d7ba309b55e69c5eeda38076664de95 (diff)
downloadeopayment-a7dcc7a5e50f599f4bb35afa7c82578f9189bc2f.zip
eopayment-a7dcc7a5e50f599f4bb35afa7c82578f9189bc2f.tar.gz
eopayment-a7dcc7a5e50f599f4bb35afa7c82578f9189bc2f.tar.bz2
general: give same signature to all Payment object constructors (#10030)
Diffstat (limited to 'eopayment/systempayv2.py')
-rw-r--r--eopayment/systempayv2.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/eopayment/systempayv2.py b/eopayment/systempayv2.py
index 7a3b1d2..4442668 100644
--- a/eopayment/systempayv2.py
+++ b/eopayment/systempayv2.py
@@ -256,12 +256,9 @@ class Payment(PaymentCommon):
description['parameters'].append(x)
def __init__(self, options, logger=None):
- self.service_url = options.pop('service_url', self.service_url)
- self.secret_test = options.pop('secret_test')
- self.secret_production = options.pop('secret_production', None)
+ super(Payment, self).__init__(options, logger=logger)
options = add_vads(options)
self.options = options
- self.logger = logger or logging.getLogger(__name__)
def request(self, amount, name=None, address=None, email=None, phone=None,
orderid=None, info1=None, info2=None, info3=None,