Checkout API v67 Web Drop-in v4.7.3 In particular, this commit changes the client-side authentication flow to rely on client keys rather than origin keys as the latter is deprecated by Adyen and the switch is required in order to upgrade the Drop-in integration. task-2590477 closes odoo/odoo#74827 Related: odoo/upgrade#2786 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com> Co-authored-by: Antoine Vandevenne <anv@odoo.com>
22 lines
745 B
Python
22 lines
745 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
from odoo.addons.payment.tests.common import PaymentCommon
|
|
|
|
|
|
class AdyenCommon(PaymentCommon):
|
|
|
|
@classmethod
|
|
def setUpClass(cls, chart_template_ref=None):
|
|
super().setUpClass(chart_template_ref=chart_template_ref)
|
|
|
|
cls.adyen = cls._prepare_acquirer('adyen', update_values={
|
|
'adyen_merchant_account': 'dummy',
|
|
'adyen_api_key': 'dummy',
|
|
'adyen_client_key': 'dummy',
|
|
'adyen_hmac_key': 'dummy',
|
|
'adyen_checkout_api_url': 'https://this.is.an.url',
|
|
'adyen_recurring_api_url': 'https://this.is.an.url',
|
|
})
|
|
|
|
# Override default values
|
|
cls.acquirer = cls.adyen
|