Added payments schema and connected to stripe BOD-146 BOD-147
This commit is contained in:
@@ -80,6 +80,10 @@ app.post("/render", renderHandlebars.render);
|
||||
var fb = require("./server/firebase/firebase-handler");
|
||||
app.post("/notifications/send", fb.sendNotification);
|
||||
|
||||
//Stripe Processing
|
||||
var stripe = require("./server/stripe/payment");
|
||||
app.post("/stripe/payment", stripe.payment);
|
||||
|
||||
//Serve React App if in Production
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
app.use(express.static(path.join(__dirname, "client/build")));
|
||||
|
||||
Reference in New Issue
Block a user