Framework Recipes
Copy-paste license validation for WordPress, Node.js/serverless, and Next.js.
The validation logic is the same everywhere; only the plumbing differs. Pick your platform below.
WordPress runs PHP, so call the Public API directly with wp_remote_post and
cache the result in a transient.
Cache aggressively (an hour or more). Validation tolerates brief staleness, and you don't want an API call on every page load.
General guidance
- Always cache validation results; never block a hot path on a network call.
- Fail open or closed deliberately. Decide what happens when the portal is unreachable — the SDK's offline cache helps you fail open safely.
- One fingerprint per install. Reusing a fingerprint across installs makes them share an activation slot.