Skip to content
Open
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
5 changes: 2 additions & 3 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,9 +537,8 @@ if (!FAL_KEY) {
}
if (!stripe) {
console.warn('⚠️ STRIPE_SECRET_KEY environment variable is not set — checkout sessions will be unavailable.');
}
if (!stripeWebhookSecret) {
console.warn('⚠️ STRIPE_WEBHOOK_SECRET environment variable is not set — Stripe webhooks will be unavailable.');
} else if (!stripeWebhookSecret) {
console.info('ℹ️ STRIPE_WEBHOOK_SECRET is not set — webhook delivery is disabled. Purchases are still verified via /api/verify-checkout-session.');
}

const { adminAuth, adminDb } = createFirebaseAdminServices({
Expand Down