feat: Initial payment implementation

This commit is contained in:
Faruk AYDIN
2023-03-05 17:12:46 +01:00
parent 63f8fc266d
commit 5e18ef5830
10 changed files with 268 additions and 4 deletions

View File

@@ -39,6 +39,9 @@ type AppConfig = {
smtpPassword: string;
fromEmail: string;
isCloud: boolean;
stripeSecretKey: string;
stripeStarterPriceKey: string;
stripeGrowthPriceKey: string;
licenseKey: string;
};
@@ -106,6 +109,9 @@ const appConfig: AppConfig = {
smtpPassword: process.env.SMTP_PASSWORD,
fromEmail: process.env.FROM_EMAIL,
isCloud: process.env.AUTOMATISCH_CLOUD === 'true',
stripeSecretKey: process.env.STRIPE_SECRET_KEY,
stripeStarterPriceKey: process.env.STRIPE_STARTER_PRICE_KEY,
stripeGrowthPriceKey: process.env.STRIPE_GROWTH_PRICE_KEY,
licenseKey: process.env.LICENSE_KEY,
};