Skip to content

Choose a tag to compare

@notrab notrab released this 31 Oct 09:19
· 1 commit to main since this release
9f5286f

V2 rebuilds the store on Astro. It builds itself from your Printful catalogue and takes payment with Stripe. See #155 for the details, and the README to get started.

Highlights

  • The catalogue loads from Printful at build time, so the storefront is static.
  • Checkout uses the Stripe Payment Element, with live shipping rates from Printful.
  • Prices always come from Printful on the server. The browser only sends variant IDs and quantities.
  • Orders are confirmed in Printful by hand, or automatically with the optional Stripe webhook.
  • Order pages have tracking links, and customers can finish paying for an unpaid order.
  • npm run setup checks your Printful and Stripe keys and writes .env.
  • Deploys to Vercel, Netlify or a container host.

Upgrading from V1

There's no upgrade path from V1, the Next.js version. V2 is a new codebase on a different framework. Start from the README with your existing Printful store and Stripe account. V1 stays available as v1.0.0.