Connection
Link your WordPress site to EpassCard from EpassCard → Connection.
Connect with an API key
- Log in to app.epasscard.com.
- Create or copy an API key.
- Paste it on the Connection page and click Connect.
Connect with email & password
Enter your EpassCard credentials and click Generate & connect. The key is stored encrypted in the database.
Enable integrations
Check the membership plugins you use in the Integrations table, then Save integrations. Enabled modules appear under the EpassCard admin menu.
Pass link email settings
| Setting | Description |
|---|---|
| Auto email on create | Sends the pass link when a new pass is created |
| WooCommerce order emails | Appends pass links to customer order emails |
| Subject / body | Plain-text templates with placeholders |
Email placeholders
{pass_link} {user_first_name} {user_last_name} {user_display_name} {user_email} {membership_title} {module_label} {site_name}
Expand Developer: X-Api-Key on the Connection page. Always use epc_get_api_key() — keys are encrypted in the database.
Domain verification
API keys are tied to your site origin (e.g. https://example.com). Every API request sends:
X-Request-Origin— site originOrigin— same valueReferer— home URL
HTTP vs HTTPS must match what was stored in allowed_domains when the key was generated. Fix Settings → General → WordPress Address and reconnect if pushes fail with domain errors.