summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2020-10-12 22:29:22 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2020-10-15 19:04:51 (GMT)
commitb0ca39636ae145a640081c97eb2aa499a801d854 (patch)
tree853b31c82134eb7f8a15ebd9c29659445f78eec2
parent323a47d19d49d6c4400dfd656fc8b470c9a41540 (diff)
downloadeopayment-b0ca39636ae145a640081c97eb2aa499a801d854.zip
eopayment-b0ca39636ae145a640081c97eb2aa499a801d854.tar.gz
eopayment-b0ca39636ae145a640081c97eb2aa499a801d854.tar.bz2
systempayv2: change type of vads_trans_id to alphanumeric (#47534)
-rw-r--r--eopayment/systempayv2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/eopayment/systempayv2.py b/eopayment/systempayv2.py
index 6f6b869..04cb222 100644
--- a/eopayment/systempayv2.py
+++ b/eopayment/systempayv2.py
@@ -156,7 +156,8 @@ PARAMETERS = [
Parameter('vads_theme_config', 'ans', 32, max_length=255),
Parameter(VADS_TRANS_DATE, 'n', 4, length=14, needed=True,
default=isonow),
- Parameter('vads_trans_id', 'n', 3, length=6, needed=True),
+ # https://paiement.systempay.fr/doc/fr-FR/form-payment/reference/vads-trans-id.html
+ Parameter('vads_trans_id', 'an', 3, length=6, needed=True),
Parameter('vads_validation_mode', 'n', 5, max_length=1, choices=('', '0', '1'),
default=''),
Parameter('vads_version', 'an', 1, default='V2', needed=True,