summaryrefslogtreecommitdiffstats
path: root/eopayment/systempayv2.py
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2016-06-16 07:00:08 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2016-06-16 08:06:12 (GMT)
commitf0a4bdddcd8f6c285210d706793417db8a7143b4 (patch)
tree591fc67cc8daabe1a12588afedc8fa340079c4ee /eopayment/systempayv2.py
parenta2a8936f6457acf02505beb0c89b5901c07553cb (diff)
downloadeopayment-f0a4bdddcd8f6c285210d706793417db8a7143b4.zip
eopayment-f0a4bdddcd8f6c285210d706793417db8a7143b4.tar.gz
eopayment-f0a4bdddcd8f6c285210d706793417db8a7143b4.tar.bz2
systempayv2: use string for vads_currency (#11382)
Diffstat (limited to 'eopayment/systempayv2.py')
-rw-r--r--eopayment/systempayv2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/eopayment/systempayv2.py b/eopayment/systempayv2.py
index 421e3e2..073fecf 100644
--- a/eopayment/systempayv2.py
+++ b/eopayment/systempayv2.py
@@ -82,7 +82,7 @@ PARAMETERS = [
Parameter('vads_capture_delay', 'n', 6, max_length=3, default=''),
Parameter('vads_contrib', 'ans', 31, max_length=255, default='eopayment'),
# defaut currency = EURO, norme ISO4217
- Parameter('vads_currency', 'n', 10, length=3, default=978, needed=True),
+ Parameter('vads_currency', 'n', 10, length=3, default='978', needed=True),
Parameter('vads_cust_address', 'an', 19, max_length=255),
# code ISO 3166
Parameter('vads_cust_country', 'a', 22, length=2, default='FR'),
@@ -206,7 +206,7 @@ class Payment(PaymentCommon):
'vads_ctx_mode': 'TEST', 'vads_validation_mode': '',
'vads_version': 'V2', 'vads_payment_cards': '', 'signature':
'5d412498ab523627ec5730a09118f75afa602af5', 'vads_language': 'fr',
- 'vads_capture_delay': '', 'vads_currency': 978, 'vads_amount': 100,
+ 'vads_capture_delay': '', 'vads_currency': '978', 'vads_amount': 100,
'vads_return_mode': 'NONE'})
'''