XCodeSol Restaurant Marketplace Documentation

Licensing

XCodeSol Restaurant Marketplace uses the centralized XCodeSol plugin licensing API.

The license is a one-time $79 plugin purchase. Optional support is available for $59 per month.

Activation

After plugin activation, open the Restaurants admin menu and enter the license key from XCodeSol.

The plugin sends an activation request containing:

  • License key.
  • Domain.
  • Site URL and admin URL.
  • Plugin slug and version.
  • WordPress and PHP versions.
  • Installation identifier.
  • Locale, multisite state, and timestamp.

Locked mode

Without a valid license, the plugin shows only the activation screen. Protected REST API requests return a license-required error and include current license status data.

Public catalog-style endpoints are also blocked by the global license gate after installation, so a site cannot operate the marketplace without activation.

Validation and grace

The plugin stores a local activation token, license hash, status, domain, entitlement data, and validation time. A short offline grace period allows temporary operation if the licensing API cannot be reached after a successful validation.

Domain mismatch, expiration, revoked status, missing activation token, or stale validation locks the plugin again.

License API

The plugin uses:

text
POST /activate-license
POST /validate-license
POST /deactivate-license
POST /heartbeat

The marketplace record uses the slug xcodesol-restaurant-marketplace.