Environments
Keep Carden keys, QuickBooks companies, Stripe modes, and Square modes aligned between test and production.
On this page
What the environment controls
| Context | Meaning |
|---|---|
| Organization | The merchant whose data is accessed. |
| Integration | The merchant's provider-specific Carden configuration. |
| Environment | The test or production records and settings for that integration. |
| API key | One organization, integration, environment, and set of authorized scopes. |
The dashboard selection helps a person navigate, but it never changes the scope of a key already deployed in a backend.
Create a test path
- Create a non-production Carden key for API preparation.
- Connect a QuickBooks sandbox company when testing source-backed work.
- Use Stripe test mode or Square sandbox in the merchant backend.
- For Stripe, configure a test-mode webhook endpoint in Stripe Dashboard, save its signing secret in Carden, and confirm a signed delivery and a captured test payment separately.
- Exercise denied access, refunds, and uncertain provider outcomes. Test duplicate observations and delivery timeouts only if using optional report APIs.
Move to production
- Authorize the intended live QuickBooks company.
- Create production Carden keys with only required scopes.
- Deploy keys through the service secret manager.
- For Stripe, configure the production webhook endpoint and signing secret in the matching Stripe mode; compare a signed captured-payment delivery with Stripe's payment state.
- Collect settlement and fee evidence separately before any verified-savings claim.
- Verify dashboards and exports keep test activity separate.
Resolve a mismatch
Compare the deployed key's merchant, provider, and environment with the dashboard context. Then check QuickBooks realmId, Stripe mode or Square environment, Carden request ID, provider IDs, and report event ID.
Stop a producer that sent merchant data to the wrong context and contact Carden for remediation. Copying records between tenants can break the audit trail.