From 6a10f36d49a3c15bf4704da90035aa811fee13bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 29 Mar 2026 12:04:54 +0200 Subject: [PATCH] Update the version of Stripe used --- modules/account_payment_stripe/payment.py | 2 +- modules/account_payment_stripe/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/account_payment_stripe/payment.py b/modules/account_payment_stripe/payment.py index 47dba68278..d09db595fe 100644 --- a/modules/account_payment_stripe/payment.py +++ b/modules/account_payment_stripe/payment.py @@ -41,7 +41,7 @@ stripe.max_network_retries = config.getint( 'account_payment_stripe', 'max_network_retries', default=3) RETRY_CODES = {'lock_timeout', 'token_in_use'} -STRIPE_VERSION = '2025-09-30.clover' +STRIPE_VERSION = '2026-03-25.dahlia' if STRIPE_VERSION != stripe.api_version: warnings.warn( f"A new Stripe API version {stripe.api_version!r} is available", diff --git a/modules/account_payment_stripe/pyproject.toml b/modules/account_payment_stripe/pyproject.toml index f2d50e486d..6ad76050bf 100644 --- a/modules/account_payment_stripe/pyproject.toml +++ b/modules/account_payment_stripe/pyproject.toml @@ -53,7 +53,7 @@ exclude = ['doc'] "" = "trytond/modules/account_payment_stripe" [tool.hatch.metadata.hooks.tryton] -dependencies = ['stripe >= 7.8.0'] +dependencies = ['stripe >= 15'] copyright = 'COPYRIGHT' readme = 'README.rst'