[IMP] payment_ogone: add possibility to use sha256

SHA1 is going to be deprecated by ogone.

This change try to keep current behaviour while adding the
possibility to use SHA256 and SHA512 via a Selection field
available in the developper mode.

Related to :
- odoo/upgrade#3490
- odoo/odoo#88628

opw-2766648

closes odoo/documentation#1902

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Florian Damhaut 2022-05-02 12:33:02 +00:00
parent bc91b1d06c
commit 239fc190a0

View File

@ -65,6 +65,17 @@ API key as you'll not be allowed to get it later without generating a new one.
If you are trying Ogone as a test, with the Test Account, change the **State** to *Test Mode*. We
recommend doing this on a test Odoo database, rather than on your main database.
Hash function
~~~~~~~~~~~~~
The hash function used to communicate with Ogone. It should be similar to the one set on Ogone.
For new Odoo database, it's set to 'SHA512' by default which is Ogone default.
If you upgrade from an older Odoo version, it will be set to Odoo's old default ('SHA1').
This setting is only available in developer mode.
Configuration on Ogone
======================