Skip to content

Commit

Permalink
fix: stripe api version (fixes #399)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Feb 28, 2024
1 parent cd298b3 commit 56d4954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stripe/src/plugins/stripe.ts
Expand Up @@ -9,7 +9,7 @@ export default fp(
if (!config.secretKey || !config.publicKey || !config.webhookSecret) {
fastify.decorate("stripe", undefined);
} else {
fastify.decorate("stripe", new Stripe(config.secretKey, { apiVersion: "2022-11-15" }));
fastify.decorate("stripe", new Stripe(config.secretKey, { apiVersion: "2023-08-16" }));
}
},
{
Expand Down

0 comments on commit 56d4954

Please sign in to comment.