Skip to main content

Customer Support

VLPlay SDK includes a built-in customer support module that lets players submit tickets and browse the help center without leaving your game. [PLACEHOLDER] The support widget is a native overlay (WebView on mobile, iframe on Web) that connects to your VLPlay Help Center configuration. Players can view FAQs, submit bug reports, and track ticket status.

[PLACEHOLDER] To enable customer support, contact your VLPlay representative to set up your categories and knowledge base articles. The SDK will display your branded help center automatically.

Open Support Widget

// Open the full help center
VLPlaySDK.support.show(activity)

// Open directly to ticket submission
VLPlaySDK.support.showNewTicket(activity, subject = "Payment issue")

Attach Context to Tickets

Pre-fill context data so support agents have relevant information:

VLPlaySDK.support.setContext({
playerId: currentUser.userId,
gameVersion: '2.4.1',
currentLevel: 15,
lastPurchaseId: 'txn_abc123',
});

Unread Ticket Count

const count = await VLPlaySDK.support.getUnreadCount();
if (count > 0) {
showSupportBadge(count);
}