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.
https://stripe.cse356.compas.cs.stonybrook.edu (endpoints under /v1, as at https://api.stripe.com)<script src="https://stripe.cse356.compas.cs.stonybrook.edu/v3/"></script> in place of https://js.stripe.com/v3/card and payment (cards only)usd only; cards: Stripe's test cards and pm_card_* test PaymentMethodsWith 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.