diff --git a/api/create-checkout-session.php b/api/create-checkout-session.php index 23e5fe5cc1..cfcf1971f5 100644 --- a/api/create-checkout-session.php +++ b/api/create-checkout-session.php @@ -5,7 +5,7 @@ $stripe = new \Stripe\StripeClient([ "api_key" => $config['stripe_sk'], - "stripe_version" => "2023-08-16" + "stripe_version" => "2024-04-10" ]); if (isset($_POST['amount'])) { diff --git a/api/download.php b/api/download.php index 71c941b3d7..e7e4493f18 100644 --- a/api/download.php +++ b/api/download.php @@ -17,7 +17,7 @@ $stripe = new \Stripe\StripeClient([ "api_key" => $config['stripe_sk'], - "stripe_version" => "2023-08-16" + "stripe_version" => "2024-04-10" ]); /** diff --git a/index.php b/index.php index effbda77ce..3e9a5dcfd4 100644 --- a/index.php +++ b/index.php @@ -21,7 +21,7 @@ $stripe = new \Stripe\StripeClient([ "api_key" => $config['stripe_sk'], - "stripe_version" => "2023-08-16" + "stripe_version" => "2024-04-10" ]); if (isset($_GET['checkout_session_id'])) {