Freeshippingover$40!

Setup

Payments are currently connected to Stripe.

Environment variables

  • STRIPE_SECRET_KEY — required. A secret key (sk_test_… or sk_live_…) or a restricted key (rk_test_… or rk_live_…). A restricted key needs permission to create and read Checkout Sessions. Charges are in Canadian dollars.
  • STRIPE_WEBHOOK_SECRET — signing secret for /api/stripe/webhook. If it is unset, the webhook acknowledges and does nothing.
  • Contact messages are emailed to the shop. The shop address is not shown on the site.
  • NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY — not used. Checkout is hosted by Stripe, so the publishable key never needs to reach the browser.

Test card

In Stripe test mode, pay with 4242 4242 4242 4242, any future expiry, any CVC, and any postal code.

Catalog

Products, prices, and colors live in one file: the PRODUCTS array. Edit that list to change the shop. The server prices checkout from the same list, so the cart cannot set its own prices.

Need something else? Contact us!

Contact