From 33f3e6bf6eff9a20d96f498dad878cb2d1069feb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 30 Dec 2023 04:46:21 +0100 Subject: [PATCH] Use stripe version 2022-11-15 by default. --- htdocs/stripe/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/stripe/config.php b/htdocs/stripe/config.php index 59341f535d7..bdf8d2545db 100644 --- a/htdocs/stripe/config.php +++ b/htdocs/stripe/config.php @@ -52,4 +52,4 @@ if (!getDolGlobalString('STRIPE_LIVE') || GETPOST('forcesandbox', 'alpha')) { \Stripe\Stripe::setApiKey($stripearrayofkeys['secret_key']); \Stripe\Stripe::setAppInfo("Dolibarr Stripe", DOL_VERSION, "https://www.dolibarr.org"); // add dolibarr version -\Stripe\Stripe::setApiVersion(!getDolGlobalString('STRIPE_FORCE_VERSION') ? "2020-08-27" : $conf->global->STRIPE_FORCE_VERSION); // force version API +\Stripe\Stripe::setApiVersion(!getDolGlobalString('STRIPE_FORCE_VERSION') ? "2022-11-15" : $conf->global->STRIPE_FORCE_VERSION); // force version API