Home Dashboard
Help Center › Platform Guides › WooCommerce Setup Guide

WooCommerce Setup Guide

Prerequisites

  • A self-hosted WordPress site with WooCommerce installed
  • Admin access to your WordPress dashboard

Step 1: Generate API Keys

  • Go to WooCommerce > Settings > Advanced > REST API
  • Click Add key
  • Set:
  • - Description: CashierLogic

    - User: your admin user

    - Permissions: Read/Write

  • Click Generate API key
  • Copy the Consumer key and Consumer secret
  • Important: Save both keys immediately. The consumer secret is only shown once.

    Step 2: Connect in CashierLogic

  • In your CashierLogic dashboard, click Add Store
  • Select WooCommerce as your platform
  • Enter your full store URL (e.g., your-store.com)
  • Enter your Consumer key and Consumer secret
  • Click Save & Continue
  • Step 3: Add the Checkout Script

    Add this snippet to your theme's functions.php or use a plugin like "Insert Headers and Footers":

    The script tag provided in the setup wizard should be added before the closing tag on all pages where the checkout should appear (typically product and cart pages).

    WooCommerce-Specific Notes

    • Discounts: WooCommerce coupon codes are fully supported
    • Gift Cards: Requires the WooCommerce Gift Cards plugin
    • Auto-apply discounts: Requires the Smart Coupons plugin
    • Webhooks: Configure a webhook in WooCommerce pointing to your CashierLogic webhook URL for order status updates