Skip to main content

Native iOS — Xsolla SDK 3 Integration Video

A step-by-step video walkthrough for Swift developers integrating the Xsolla SDK into a native iOS game — without abandoning StoreKit. The SDK slots in as a thin wrapper around the familiar SKPaymentQueue API, adding authentication, Pay Station, and purchase validation on top of the StoreKit flow developers already know.

The video covers the four stages of a complete integration:

  1. Authenticate — build an SKPaymentSettings object with your Project ID and Login Project ID; enable payments, open Pay Station in external Safari (U.S. compliance), and configure a persistent anonymous user ID.
  2. Load Catalog — fetch products with SKProductsRequest, matching SKUs across App Store Connect and Publisher Account (Virtual Items only).
  3. Purchasing — dispatch on the main thread, set the rootViewController anchor, and add the SKPayment to the queue.
  4. Finalizing — call validateTransaction before granting the item, and always finishTransaction in every branch.