Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions template/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"react-apexcharts": "^1.4.1",
"react-hot-toast": "^2.4.1",
"react-icons": "4.11.0",
"stripe": "11.15.0",
"stripe": "17.2.0",
"tailwind-merge": "^2.2.1",
"vanilla-cookieconsent": "^3.0.1",
"wasp": "file:.wasp/out/sdk/wasp",
Expand All @@ -34,4 +34,4 @@
"typescript": "^5.1.0",
"vite": "^4.3.9"
}
}
}
6 changes: 4 additions & 2 deletions template/app/src/payment/stripe/stripeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ export const stripe = new Stripe(requireNodeEnvVar('STRIPE_API_KEY'), {
// NOTE:
// API version below should ideally match the API version in your Stripe dashboard.
// If that is not the case, you will most likely want to (up/down)grade the `stripe`
// npm package to the API version that matches your Stripe dashboard's one.
// npm package to the API version that matches your Stripe dashboard's one.
// This can be found in package.json, e.g. "stripe": "17.2.0"
// The latest version is always listed here: https://www.npmjs.com/package/stripe
// For more details and alternative setups check
// https://docs.stripe.com/api/versioning .
apiVersion: '2022-11-15',
apiVersion: '2024-09-30.acacia',
});