Skip to main content

Native Android — Xsolla SDK 3 Integration Video

A step-by-step video walkthrough for integrating the Xsolla SDK into a native Android game (Java). Using a simple clicker-game demo, it shows how to launch a secure Pay Station checkout overlay natively inside the app — giving players access to 1,000+ localized payment options without routing out to a browser.

The video covers setup plus the four stages of a complete integration:

  1. Set Up the SDK — add the Xsolla Maven repo and dependency in Gradle, then import the package in your main activity.
  2. Authenticate — initialize Config and the BillingClient (with Project ID, Login ID, sandbox enabled) in onCreate().
  3. Load Catalog — query product details with queryProductDetailsAsync.
  4. Purchase Product — launch the billing flow (launchBillingFlow) to open the Xsolla Pay Station overlay.
  5. Finalize Purchase — listen for the result and consumeAsync the transaction token to award the item.