From 7bb7fc45a86a6b2212d480219ae6becb6735dac3 Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Sat, 7 May 2022 15:11:01 -0700 Subject: [PATCH] doc: add stripe test key --- functions/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions/index.js b/functions/index.js index e16f05e..141a7fd 100644 --- a/functions/index.js +++ b/functions/index.js @@ -1,7 +1,9 @@ const functions = require("firebase-functions"); const express = require("express"); const cors = require("cors"); -const stripe = require("stripe")(process.env.STRIPE_SECRET_KEY); +const stripe = require("stripe")( + "sk_test_51KscW4KBpYeMLtMeCQhfFmEisxi2N7deo81vNF1PBEDte1Aeyh9wa7IKyAFJgitxNzkjcYM0ORwjyQcxCShZBBqy00rrbwVw2f" +); // App Config const app = express();