---
title: "Environments"
slug: "environments"
updated: 2026-06-10T09:09:57Z
published: 2026-06-23T10:51:59Z
canonical: "help.frisbii.com/environments"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://help.frisbii.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Environments
# Environments: Stage vs. Live
Frisbii Media provides two separate environments. Always develop and test against the **stage** environment. The stage and live environments use different Company IDs and different SDK URLs.
---
## Overview
| | Stage | Live |
| --- | --- | --- |
| **Purpose** | Development & testing | Live traffic |
| **Company ID** | Different from live | Your live Company ID |
| **JavaScript SDK URL** | `https://static.frisbii-media-stage.com/web/v1/frisbii_media.min.js` | `https://static.frisbii-media.com/web/v1/frisbii_media.min.js` |
| **REST API base URL** | `https://api.frisbii-media-stage.com/api/v3.0/` | `https://api.frisbii-media.com/api/v3.0/` |
| **API docs (Swagger)** | `https://api.frisbii-media-stage.com/` | `https://api.frisbii-media.com/` |
| **Payments** | Test payments only, no real charges | Real payments |
---
## JavaScript SDK
**Stage:**
```plaintext
```
**Live:**
```plaintext
```
---
## REST API base URI
**Stage (PHP/Guzzle example):**
```php
$client = new GuzzleHttp\Client(['base_uri' => 'https://api.frisbii-media-stage.com/api/v3.0/']);
```
**Live:**
```php
$client = new GuzzleHttp\Client(['base_uri' => 'https://api.frisbii-media.com/api/v3.0/']);
```
---
## Checklist before going to production
- [ ] Replace the JavaScript SDK URL with the live URL
- [ ] Replace the stage Company ID with your live Company ID
- [ ] Replace the stage API base URI with the live URI
- [ ] Set `debugMode => false` in all `preparePurchase` calls
- [ ] Test a real payment end-to-end in production with a small-value product
---
## Server time
> [!WARNING]
> Frisbii Media relies on correct date and time for token validation and subscription calculations. Make sure your server runs **NTP** and that its clock is accurate. Tokens with a skewed timestamp will be rejected.