Skip to content

stripe integration #5

@MorganBergen

Description

@MorganBergen

manage api keys in vercel with stripe by touch .env.local in pwd root.

example

# Stripe keys
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_12345
STRIPE_SECRET_KEY=sk_12345

NEXT_PUBLIC_ prefix automatically exposes this variable to the browser.

next.js will insert the value for these into the publicly viewable source code at build/render time.

Add .local.env to .gitignore

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions