[FIX] payment_stripe: disable tokenisation that will not be supported

disable tokenisation of payment methods that use sepa debit because
it will not be supported in the future versions

closes odoo/odoo#132424

X-original-commit: df2a358fb22ed50d86bd655858785a31adf934a9
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Valeriya(vchu)
2023-08-19 12:03:00 +02:00
parent d5878829cd
commit cd887a8289
+3 -3
View File
@@ -15,7 +15,7 @@ PAYMENT_METHODS_TOKENIZATION_SUPPORT = {
'apple_pay': True,
'au_becs_debit': True,
'bacs_debit': False, # Stripe doesn't support saving BACS with setupIntent.
'bancontact': True,
'bancontact': False,
'blik': False,
'boleto': True,
'card': True,
@@ -26,7 +26,7 @@ PAYMENT_METHODS_TOKENIZATION_SUPPORT = {
'giropay': False,
'google_pay': True,
'grabpay': False,
'ideal': True,
'ideal': False,
'klarna': False,
'konbini': False,
'link': True,
@@ -37,7 +37,7 @@ PAYMENT_METHODS_TOKENIZATION_SUPPORT = {
'paypal': True,
'promptpay': False,
'sepa_debit': True,
'sofort': True,
'sofort': False,
'us_bank_account': True,
'wechat_pay': False,
'zip': False,