In this commit, we take the opportunity to replace the previous unsecure
API with the new FlexCheckout API that implements payment methods
validation in a hosted page. Payment processing is still done with the
DirectLink API.
This commit also renames the module `payment_ingenico` to
`payment_ogone` as well as the referring strings ("Ogone" instead
of "Ingenico", ...).
A dedicated [MOV] commit is not used because neither the [MOV] commit
nor the adapted [REF] would be valid on its own.
See the merge commit for more details.
task-2333029
task-2313907
task-2334015
Co-authored-by: Antoine Vandevenne <anv@odoo.com>
21 lines
589 B
Python
21 lines
589 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
from odoo.addons.payment.tests.common import PaymentCommon
|
|
|
|
|
|
class OgoneCommon(PaymentCommon):
|
|
|
|
@classmethod
|
|
def setUpClass(cls):
|
|
super().setUpClass()
|
|
|
|
cls.ogone = cls._prepare_acquirer('ogone', update_values={
|
|
'ogone_pspid': 'dummy',
|
|
'ogone_userid': 'dummy',
|
|
'ogone_password': 'dummy',
|
|
'ogone_shakey_in': 'dummy',
|
|
'ogone_shakey_out': 'dummy',
|
|
})
|
|
|
|
cls.acquirer = cls.ogone
|
|
cls.currency = cls.currency_euro
|