summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2017-08-10 09:01:23 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2017-08-10 09:01:23 (GMT)
commit2d75c65935f23949f1f30cb4774bc1b6d9e080a1 (patch)
treec1f97305839db333a7712f259328f8deb255a9fb
parente8d556e5b24232691e192182ad873fe4fb652180 (diff)
downloadeopayment-2d75c65935f23949f1f30cb4774bc1b6d9e080a1.zip
eopayment-2d75c65935f23949f1f30cb4774bc1b6d9e080a1.tar.gz
eopayment-2d75c65935f23949f1f30cb4774bc1b6d9e080a1.tar.bz2
ogone: update list of accepted sha-in/out parameters (#17956)v1.21
-rw-r--r--eopayment/ogone.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/eopayment/ogone.py b/eopayment/ogone.py
index 1c43e25..649e10c 100644
--- a/eopayment/ogone.py
+++ b/eopayment/ogone.py
@@ -15,6 +15,7 @@ ENVIRONMENT_PROD = 'PROD'
ENVIRONMENT_PROD_URL = 'https://secure.ogone.com/ncol/prod/orderstandard.asp'
ENVIRONMENT = [ENVIRONMENT_TEST, ENVIRONMENT_PROD]
+# https://payment-services.ingenico.com/ogone/support/~/media/kdb/integration%20guides/sha-in_params.ashx
SHA_IN_PARAMS = """
ACCEPTANCE
ACCEPTURL
@@ -338,8 +339,10 @@ WBTU_ORDERID
WEIGHTUNIT
WIN3DS
WITHROOT
+XDL
""".split()
+# https://payment-services.ingenico.com/ogone/support/~/media/kdb/integration%20guides/sha-out_params.ashx
SHA_OUT_PARAMS = """
AAVADDRESS
AAVCHECK
@@ -391,6 +394,7 @@ NBRUSAGE
NCERROR
ORDERID
PAYID
+PAYIDSUB
PAYMENT_REFERENCE
PM
SCO_CATEGORY
@@ -401,7 +405,8 @@ STATUS
SUBBRAND
SUBSCRIPTION_ID
TRXDATE
-VC"""
+VC
+""".split()
class Payment(PaymentCommon):
# See http://payment-services.ingenico.com/fr/fr/ogone/support/guides/integration%20guides/e-commerce