Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit 56d4954

Browse files
committed
fix: stripe api version (fixes #399)
1 parent cd298b3 commit 56d4954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/stripe/src/plugins/stripe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default fp(
99
if (!config.secretKey || !config.publicKey || !config.webhookSecret) {
1010
fastify.decorate("stripe", undefined);
1111
} else {
12-
fastify.decorate("stripe", new Stripe(config.secretKey, { apiVersion: "2022-11-15" }));
12+
fastify.decorate("stripe", new Stripe(config.secretKey, { apiVersion: "2023-08-16" }));
1313
}
1414
},
1515
{

0 commit comments

Comments
 (0)