Test and Production
Two environments
- Test and Production never share data, also not on one device.
- Each environment has its own credentials. On Roblox, each environment has its own token and its own DataStore scope; the game has one webhook and one Open Cloud API key for both.
- Always set the environment when you start the SDK. The SDK never guesses it from a build type or a host name.
Test on Steam, iOS and Android
- Publish your Test Program Terms first.
- Open your game's Test page. Simulate a referral to one of the Test creators TSTA, TSTB or TSTC, create a Test purchase and refund it.
- Reset Test data clears Test players, referrals, purchases and refunds. Test never creates real earnings or invoices.
Test on Roblox
- Keep "test" with the Test token while you build. Use "production" only with the Production token.
- Simulated receipts (R3FTO.simulateTestReceipt) work only in Test and are marked as simulated. They prove the setup, not real purchases.
- Repeat your checks in a published Test experience on a live server before you switch to Production.
The details: Make a test purchase on Roblox.