We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45be417 commit b0eb3ccCopy full SHA for b0eb3cc
packages/frontend/react/src/stripe/server.ts
@@ -1,14 +1,14 @@
1
-import "server-only";
2
-import Stripe from "stripe";
+import "server-only"
+import Stripe from "stripe"
3
4
-if (!process.env.STRIPE_API_KEY) throw new Error("no stripe api key");
+if (!process.env.STRIPE_API_KEY) throw new Error("no stripe api key")
5
6
export const stripe = new Stripe(process.env.STRIPE_API_KEY, {
7
// https://github.com/stripe/stripe-node#configuration
8
- apiVersion: "2023-08-16",
+ apiVersion: "2024-11-20.acacia",
9
appInfo: {
10
name: "poketto.ai",
11
url: "https://poketto.ai",
12
version: "0.1.0",
13
},
14
-});
+})
0 commit comments