Skip to content

Go live

Your code doesn’t change when you go live: only the keys do. Work through this list once your website works end to end with a test key.

  1. Be on Business. Live keys come with the Business plan: upgrade in Settings › Plan & Billing. Test keys keep working beside live ones.
  2. Show the right products. Each product your website sells needs Show on your website turned on, an accurate price, and stock in your first open store, which is where website orders sell from.
  3. Check your selling rules in Settings › Stores. With Stop the sale, a website order that needs more than the store’s count fails with INSUFFICIENT_STOCK.
  1. In Settings › Developer › API keys, press New key, choose Live, and tick only what your website uses. A website that shows products, checks codes and places orders needs Read the catalogue, Check promo codes, Place and cancel orders and Read orders.
  2. Under Websites that may use the publishable key, list your live site, such as https://yourshop.com and https://www.yourshop.com. While the list is empty, browsers can’t use the publishable key at all.
  3. Under Only from these addresses, list your servers’ IP addresses, if they’re fixed.
  4. Copy the secret key into your server’s environment (SABIWAVE_SECRET_KEY=sk_live_…), and the publishable key into your website’s code.
  1. In Settings › Developer › Webhooks, press Add endpoint. Give its https:// address, choose Live and pick the events you use. Copy the signing secret into your server’s environment (SABIWAVE_WEBHOOK_SECRET=whsec_…): it’s shown once.
  2. Press Send a test ping. The Delivery log shows what your server answered: 200 means it’s reachable and your signature check passed.
  1. Place one real order from your website. Find it in Sabiwave’s order list, then cancel it there or with POST /orders/{id}/cancel.
  2. Keep an eye on the Delivery log for the first days. An endpoint that fails 20 times in a row is switched off: see Retries and switch-off.