From 0cdad19acfb3beacdb999b72a7d6d63d5d076d44 Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Mon, 6 May 2024 16:42:01 +0900 Subject: [PATCH] Bump stripe API version --- api/create-checkout-session.php | 2 +- api/download.php | 2 +- index.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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'])) {