To enable the sandbox:
- In the WordPress admin, go to DDLS > Developer > Sandbox
- Click Enable Sandbox
- The extension creates the 4 sandbox database tables and seeds them with synthetic test data
- A sandbox API key (
dmsi_sand_<40hex>) is generated and displayed once — copy it immediately
Important: The sandbox API key is shown once at generation time and cannot be retrieved again. If you lose the key, use the Regenerate Key button to create a new one (this invalidates the previous key).
Pre-seeded test data:
When the sandbox is enabled or reset, the following synthetic test records are created automatically:
| Resource | Count |
|---|---|
| Customers | 10 |
| Products | 5 |
| Licenses | 20 |
| Activations | 50 |
Sandbox management actions:
| Action | Button | Effect |
|---|---|---|
| Enable | Enable Sandbox | Creates sandbox tables and seeds test data |
| Disable | Disable Sandbox | Disables sandbox mode (tables are retained but sandbox key stops working) |
| Regenerate Key | Regenerate Key | Generates a new sandbox key, invalidates the previous key |
| Reset Data | Reset Data | Truncates all 4 sandbox tables and re-seeds fresh test data |
