Initial commit: Craft2Prints with Stages 1-3

This commit is contained in:
Andymick
2026-07-15 18:09:59 +01:00
commit 41937ffc15
158 changed files with 16054 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import Stripe from 'stripe';
if (!process.env.STRIPE_SECRET_KEY) {
console.warn('STRIPE_SECRET_KEY is not set — checkout will fail until you add it to .env');
}
export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY ?? '', {
apiVersion: '2024-06-20',
});