Storefront setup
Go-live checklist
Everything to check on WordPress, the storefront, payments, DNS, SEO, email and security before a store opens to shoppers.
Work through this list on the production setup, top to bottom, before you announce the store. Each item links to the page that explains it. Most of it takes minutes; the test order in live mode is the one step you must not skip.
WordPress and the Companion plugin
Section titled “WordPress and the Companion plugin”- WooCommerce and the Companion plugin are active and up to date. See Install the Companion plugin.
-
RSC_JWT_SECRETis defined inwp-config.phpand the Social Login tab shows it as configured. -
RSC_STOREFRONT_SHARED_SECRETis defined and matches the storefront’sSTOREFRONT_SHARED_SECRET. No admin notice warns about it. -
RSC_DISABLE_EMAIL_VERIFICATIONis not defined. It is for local development only. - StoreFront → Settings → General → Storefront URL is the production storefront address, with HTTPS.
- Permalinks are set to anything but Plain, and WordPress itself is served over HTTPS.
- WooCommerce’s selling and shipping locations, shipping zones, taxes and currency are final. See WooCommerce settings.
- The Settings → General → Timezone is the store’s real timezone. Sale countdowns, “Today’s deals” and the 04:00 nightly rebuild follow it.
- StoreFront → Settings → General → Cache purge secret is set, and matches the storefront’s
REVALIDATE_SECRET. -
WOOCOMMERCE_BIS_ALPHA_ENABLEDis not defined. The Companion plugin has its own back-in-stock alerts.
Storefront environment
Section titled “Storefront environment”-
COMMERCE_SOURCE=woocommerce,WOO_STORE_URLandRSC_API_URLpoint at the production WordPress. -
AUTH_SECRETis a fresh value generated for production, not one copied from staging or a laptop. -
SITE_URLis the production address, with HTTPS and no trailing slash. -
STOREFRONT_SHARED_SECRETandREVALIDATE_SECRETare set. On Cloudflare, every secret is stored as the Secret type. - After the production deploy, StoreFront → Settings → Caching shows the rebuild finished, with no pages that could not be built. See Page cache. A rebuild still under way at 0 pages, with a
self-check:line, has built nothing: see Troubleshooting. - On Cloudflare: the page-cache R2 bucket exists, the Worker’s
WORKER_SELF_REFERENCEbinding names the Worker itself, and a second Worker on the same bucket (staging) has its ownNEXT_INC_CACHE_R2_PREFIX. - On Cloudflare, a production Worker deployed from an
envblock (a second store) haspnpm exec opennextjs-cloudflare deploy --env <name>as its Deploy command, and its build log has no “no target environment was specified” warning. Check again whenever the Worker is connected to another repository. See A second Worker under Deploy. - WooCommerce REST keys are a production pair with Read permission.
-
STOREFRONT_CUSTOM_SCRIPTSis unset (scripts on), unless you deliberately keep them off. -
WOO_INSECURE_TLSis not set. - If the store runs Cart Abandonment Recovery for WooCommerce,
WOO_CART_RECOVERY=1is set. The storefront can’t detect the plugin, so without it no checkout is recorded and the plugin’s Reports stay empty. See Cart abandonment recovery. - If the store runs Partnero,
AFFILIATE_REF_PARAMnames the parameter the programme’s referral links use when it isn’tref, and the Affiliate referrals tab in wp-admin shows the programme, its window and Order Attribution as known. See Partnero affiliate referrals. - No payment, social sign-in or Turnstile keys are in the storefront’s environment.
- Languages, Home sections and checkout options are what the client signed off. See Configuration.
- The store name, tagline, About page, store profile and Find a Store page no longer show the demo brand or placeholder data. See Store identity.
Domain, DNS and HTTPS
Section titled “Domain, DNS and HTTPS”- The storefront’s domain resolves to the storefront and serves a valid certificate.
- WordPress lives on its own host (for example a
cms.oradmin.subdomain) with a valid certificate. - The proxy in front of the storefront sets
X-Forwarded-For, andAUTH_TRUST_HOST=trueis set. See Deployment. - Opening a published product’s old WordPress address redirects (301) to the same product on the storefront.
- If media is offloaded to Cloudflare R2, images load from the bucket’s custom domain with a year-long
Cache-Control, not fromr2.dev, and a Cache Rule keeps them at Cloudflare’s edge for a year (a repeatedGETshowscf-cache-status: HIT). See Media on R2.
Payments in live mode
Section titled “Payments in live mode”- Each gateway is switched from test to live mode in WooCommerce → Settings → Payments, with live keys. The storefront picks this up on the next checkout, with no redeploy. See Payments.
- Stripe and PayPal webhooks are configured for live mode, as each gateway plugin’s own documentation describes.
- PayPal uses the Capture intent.
- Apple Pay and Google Pay are switched on only on the pages you want, and the storefront domain shows as registered with Stripe (no admin notice about a refused domain).
- Link is switched off in the Stripe plugin. It has not yet passed real-wallet checks.
- Offline methods you do not offer (bank transfer, cheque, cash on delivery) are disabled.
- No admin notice warns that a payment plugin version is outside the verified range.
A real test order
Section titled “A real test order”- On the live storefront, buy a cheap product with a real card, as a guest.
- Check the thank-you page, the order in WooCommerce and the customer email.
- Refund the order from WooCommerce and confirm the refund reaches the card.
- Repeat with PayPal and with a wallet on a phone, if you offer them.
- Sign up as a new customer, verify the email, sign in, and check that the order history and invoice download work for an order on that account.
Email and background jobs
Section titled “Email and background jobs”- WordPress sends mail through a real SMTP or transactional mail service. Sign-in requires a verified email, so this is not optional.
- Verification, password-reset and back-in-stock emails arrive and link to the storefront, not to WordPress.
- A real system cron runs WordPress’s scheduler every minute, and WP-Cron’s page-view trigger is disabled with
DISABLE_WP_CRON. Without it, saved changes reach the storefront late. See Set up a real cron job. - WooCommerce’s sale sweep (
woocommerce_scheduled_sales) is waiting for midnight in the store’s timezone, booked once. See Set the time zone before WooCommerce. - WooCommerce → Status → Scheduled Actions shows no pile of failed or overdue actions.
Sign-in and bot protection
Section titled “Sign-in and bot protection”- Google sign-in: the OAuth client’s authorised redirect URI is the production storefront’s
/loginaddress, exactly. See Sign-in and security. - Facebook sign-in: the storefront’s domain is in the app’s allowed domains and the app is switched to Live.
- Cloudflare Turnstile is on, both keys are saved, and the widget’s hostnames include the production storefront domain.
- Test each form that uses Turnstile: a review, a back-in-stock sign-up and the contact form.
-
SITE_URLis correct: view a page’s source and check the canonical address. -
/sitemap.xmland/robots.txtload and use the production address. - The site is added to Google Search Console (and any other search engine you use) and the sitemap is submitted.
- Site name, default sharing image and SEO patterns are set in StoreFront → Settings → SEO. With Yoast SEO or Rank Math active, Sync SEO has run. See SEO.
- Old non-product URLs that matter for search (categories, pages) have redirects at your DNS or proxy. The Companion plugin only redirects product pages.
Content and tracking
Section titled “Content and tracking”- Every policy page (returns and refunds, shipping, privacy, terms, cookies) is published. A missing one shows a 404 and its links disappear. See Pages and content.
- Header and footer scripts (tag manager, pixel, consent tool) are pasted in WordPress and fire on the live storefront. See Scripts and promo popup.
- In the EU, tracking waits for consent: Complianz is set up (see Complianz cookie consent), or another consent tool loads in the Head box. Test in a private window that nothing optional fires before Accept.
- Contact form messages arrive where expected, and newsletter sign-ups reach the right list.
- The header, footer, mobile tab bar, colours and favicon are final.
Backups and handover
Section titled “Backups and handover”- WordPress has automated, tested backups of its database and uploads. The storefront keeps no data of its own.
- The storefront’s environment variables are recorded somewhere safe. On Cloudflare they live only in the dashboard.
- The client knows where everything is managed: WordPress for content and settings, the storefront deployment for environment changes.
- Someone is named to watch the WooCommerce logs (source
retail-store-companion-payment) during launch week.
Next steps
Section titled “Next steps”TroubleshootingWhat to do when something on the list fails.
Launch pathThe whole project from kickoff to launch.
FAQAnswers for clients and teams.
Storefront Playbook · Built by weLabsFeaturesFAQTalk to us