Skip to content

Commit 0b94024

Browse files
committed
merge older stripe integration
2 parents b7f1f31 + ee205ec commit 0b94024

34 files changed

+1765
-189
lines changed

.env.example

+10-5
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,19 @@ SMTP_USER=
3535
SMTP_PASSWORD=
3636
EMAIL_RECIPIENT=
3737

38+
# use predefined value for store
39+
NEXT_PUBLIC_INIT_STORE=true
3840
# return results without calling AI
39-
NEXT_PUBLIC_SKIP_AI=true
41+
SKIP_AI=true
4042

4143
# google analytics
4244
NEXT_PUBLIC_GA_MEASUREMENT_ID="G-XXXXXXXXXX"
4345

44-
# use predefined value for store
45-
NEXT_PUBLIC_INIT_STORE=true
46-
# return results without calling AI
47-
SKIP_AI=true
46+
# Used to add the domain to sitemap.xml, replace it with a real domain in production
47+
WEBSITE_URL=https://www.smartapply.app
4848

49+
# Stripe keys
50+
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_12345
51+
STRIPE_SECRET_KEY=sk_12345
52+
STRIPE_WEBHOOK_SECRET=whsec_
53+
STRIPE_TRIAL_DAYS=5

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ yarn-error.log*
4343

4444
/public/sitemap.xml#
4545

46-
/analyze
46+
/analyze

next.config.mjs

+6
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ const config = {
3333
port: "",
3434
pathname: "/**",
3535
},
36+
{
37+
protocol: "https",
38+
hostname: "www.gravatar.com",
39+
port: "",
40+
pathname: "/**",
41+
},
3642
{
3743
protocol: "https",
3844
hostname: "media.licdn.com",

0 commit comments

Comments
 (0)