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

Prev Next

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:

<script src="https://static.frisbii-media-stage.com/web/v1/frisbii_media.min.js"
        data-company-id="{your_stage_companyId}"
        data-lang="en"></script>

Live:

<script src="https://static.frisbii-media.com/web/v1/frisbii_media.min.js"
        data-company-id="{your_live_companyId}"
        data-lang="en"></script>

REST API base URI

Stage (PHP/Guzzle example):

$client = new GuzzleHttp\Client(['base_uri' => 'https://api.frisbii-media-stage.com/api/v3.0/']);

Live:

$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

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.