Skip to main content

Sandbox Environment

VLPlay provides a sandbox environment for testing your integration without affecting production data or making real payments. [PLACEHOLDER] The sandbox environment mirrors all production features but uses test payment methods, mock IAP products, and isolated user accounts. Sandbox data is reset periodically (every 30 days) and is not suitable for production use.

[PLACEHOLDER] To use the sandbox environment, initialize the SDK with env: 'sandbox' (Web) or VLPlayConfig.Environment.SANDBOX (Android/iOS). You will also need to create a separate sandbox application in your VLPlay representative — sandbox and production applications have separate App IDs.

Configuration

await VLPlaySDK.init({
appId: 'YOUR_SANDBOX_APP_ID',
clientSecret: 'YOUR_SANDBOX_CLIENT_SECRET',
env: 'sandbox',
debug: true,
});

Sandbox Base URLs

ServiceURL
API Gatewayhttps://gw-s.vlplay.vn/sdk/v1
WebPayhttps://pay-s.vlplay.vn
Dashboardhttps://hub-s.vlplay.vn

Test Accounts

Use the following test accounts in the sandbox environment:

UsernamePasswordNotes
test_player@vlplay.vnTestPass123!Standard player account
test_guest@vlplay.vnGuest account (no login needed)

⚠️ Do not use sandbox App IDs in production builds.