Docs Overview

These Developer Docs cover architecture, extension points, REST APIs, WP-CLI, hooks, filters, data tables, gateway adapters, software licensing, client SDK integration, package delivery, queues, tests, and integration recipes.

All technical examples live in the Developer Docs so Admin and End User Docs stay operator-focused.

Current Source Snapshot

  • Product: awecommerce
  • Plugin version: 1.0.0
  • Documentation version: 4.0
  • Source commit: f3de8c2
  • WordPress requirement: 6.4+
  • PHP requirement: 8.2+

Main Architecture

AweCommerce is a WordPress plugin with:

  • A main bootstrap file at awecommerce.php.
  • A runtime container in src/Support/Container.php.
  • A plugin orchestrator in src/Plugin.php.
  • Dedicated domain services under src/.
  • Dedicated repository classes under src/Repositories/.
  • Migrations under src/Installer/Migrations/.
  • Admin pages under src/Admin/Pages/.
  • Admin actions under src/Admin/Actions/.
  • Frontend shortcodes under src/Frontend/Shortcodes/.
  • Frontend blocks under src/Frontend/Blocks/ and src/Blocks/.
  • Gateway adapters under src/Gateways/.
  • REST controllers under src/Checkout/, src/Portal/, src/Licensing/, src/Updates/, src/Rest/, src/Rest/Admin/, src/Invoices/, and src/Tokens/.
  • Software package tooling under src/Packages/ and src/Updates/.
  • Bundled client SDK bootstrap under vendor/awecommerce-client/bootstrap.php.

Main Domains

  • Products.
  • Prices.
  • Checkout.
  • Orders.
  • Transactions.
  • Refunds.
  • Invoices.
  • Customers.
  • Addresses.
  • Subscriptions.
  • Dunning.
  • Coupons.
  • Taxes.
  • Entitlements.
  • Memberships.
  • Downloads.
  • Licensing.
  • Software releases.
  • Package tokens.
  • Webhooks.
  • Gateways.
  • Emails.
  • Notifications.
  • Queue.
  • Privacy.
  • Health.
  • Admin UI.
  • Frontend UI.

Development Rule

Keep checkout, licensing, package delivery, and subscription state server-authoritative. Browser state and customer-provided values should never be trusted as final truth.

Was this documentation helpful?