CSE 356 course payment gateway

An implementation of the Stripe API (test mode) and of Stripe.js for the course project. Use your group's keys from the course site.

With the official Node.js library:

import Stripe from "stripe";
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY, { host: "stripe.cse356.compas.cs.stonybrook.edu", protocol: "https" });

With @stripe/stripe-js, include the script tag above before your bundle; loadStripe() then uses it.