summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2018-06-05 09:55:14 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2018-06-05 11:45:04 (GMT)
commit31b85ae9fdece1c2c5fd7a862bae0e037e85eb87 (patch)
tree838d7ad495ee6c66a7cdd5cb55080fb733bf69e0
parentebedffed018420dfc79b847952f6f166079e0aa9 (diff)
downloadeopayment-31b85ae9fdece1c2c5fd7a862bae0e037e85eb87.zip
eopayment-31b85ae9fdece1c2c5fd7a862bae0e037e85eb87.tar.gz
eopayment-31b85ae9fdece1c2c5fd7a862bae0e037e85eb87.tar.bz2
ogone: mark status 95 as success (#24287)v1.24
-rw-r--r--eopayment/ogone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/eopayment/ogone.py b/eopayment/ogone.py
index fbc9e2d..900d348 100644
--- a/eopayment/ogone.py
+++ b/eopayment/ogone.py
@@ -556,7 +556,7 @@ class Payment(PaymentCommon):
result = DENIED
elif status == '5':
result = ACCEPTED
- elif status == '9':
+ elif status in ('9', '95'):
result = PAID
elif len(status) == 2 and status[1] == '1':
# Statuses with two digits represent either ‘intermediary'