systempayv2: use SHA-1 algorithm by default (#47094)
gitea/eopayment/pipeline/head Build started...
Details
gitea/eopayment/pipeline/head Build started...
Details
This commit is contained in:
parent
e2ec0860cc
commit
4b7824a996
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue