Skip to content

Commit

Permalink
Bump stripe API version
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmhewitt committed May 6, 2024
1 parent f44002b commit 0cdad19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/create-checkout-session.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'])) {
Expand Down
2 changes: 1 addition & 1 deletion api/download.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

$stripe = new \Stripe\StripeClient([
"api_key" => $config['stripe_sk'],
"stripe_version" => "2023-08-16"
"stripe_version" => "2024-04-10"
]);

/**
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'])) {
Expand Down

0 comments on commit 0cdad19

Please sign in to comment.