systempayv2: use SHA-1 algorithm by default (#47094)
gitea/eopayment/pipeline/head Build started... Details

This commit is contained in:
Benjamin Dauvergne 2020-09-28 15:40:18 +02:00
parent e2ec0860cc
commit 4b7824a996
1 changed files with 2 additions and 1 deletions

View File

@ -244,6 +244,7 @@ class Payment(PaymentCommon):
'''
service_url = "https://paiement.systempay.fr/vads-payment/"
signature_algo = 'sha1'
description = {
'caption': 'SystemPay, système de paiment du groupe BPCE',
@ -274,7 +275,7 @@ class Payment(PaymentCommon):
'validation': lambda value: str.isalnum(value), },
{'name': 'signature_algo',
'caption': _(u'Algorithme de signature'),
'default': 'hmac_sha256',
'default': 'sha1',
'choices': (
('sha1', 'SHA-1'),
('hmac_sha256', 'HMAC-SHA-256'),