Skip to main content
  • STOREFRONT_API_TOKEN exists only on the server, never with a NEXT_PUBLIC_ prefix.
  • Session cookies are HttpOnly, Secure, SameSite=Lax.
  • Route Handlers that change data check the Origin header.
  • X-Storefront-Client-IP comes from a header your infrastructure controls.
  • The storefront domain is not in strapi::cors for the storefront routes.
  • The storefront URL is set and matches your domain.
  • Stripe keys are live, the webhook points at Strapi and subscribes the seven events.
  • The success and cancel paths match your pages.
  • The email templates link to your account pages, in every language.
  • Markets and shipping methods cover the countries your checkout offers.
  • Add to cart without a cookie creates one session, not one per page view.
  • A quote with a sold out line shows the problem and keeps the cart.
  • A code that needs a verified email walks through the 6 digit code.
  • A changed price during checkout shows the new total (TOTAL_CHANGED).
  • A double click on “Place order” creates one order.
  • The success page handles UNPAID, PROCESSING and PAID.
  • Login merges the guest cart. Logout keeps the cart on the account.
  • A password change keeps the customer logged in on this device and logs out the others.
  • A revoked session drops the cookie and the customer continues as a guest.