update stripe and stripe api

This commit is contained in:
Michael Dausmann
2024-02-19 01:48:51 +11:00
parent 463cf7f194
commit e7d1f35777
5 changed files with 17 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
import Stripe from 'stripe';
const config = useRuntimeConfig();
const stripe = new Stripe(config.stripeSecretKey, {
apiVersion: '2022-11-15'
apiVersion: '2023-10-16'
});
const route = useRoute();
let customer: Stripe.Response<Stripe.Customer | Stripe.DeletedCustomer>;