跳到主要内容

Buy Button ⚡

ℹ️U.S. rules for iOS and Android — external payment link-outs

iOS — Effective Apr 30, 2025: Developers may include external payment links in U.S. apps. The Xsolla SDK aligns with Apple’s updated guidelines.

Android — Effective Oct 29, 2025: Following the Epic v. Google injunction, U.S. Google Play apps may guide users to external payment methods via link-outs, use alternative billing solutions, and are no longer subject to anti-steering restrictions.

For both platforms, the fastest recommended non-SDK approach is the Buy Button via link-outs to Web Shop

Buy Button integration via Web Shop link is a quick, low-code way to enable item-specific purchases from your game using a browser-based checkout. It offers:

  • A seamless flow — tapping Buy Button opens the Web Shop checkout for a specific item, allowing users to automatically return to the game after a successful payment.
  • Support for a wide range of payment methods, including one-click payments via Apple Pay, for fast and familiar mobile checkout.
  • Fast setup — if your Web Shop is already set up, you only need to add a link with parameters to the game.
  • Instant onboarding — if you don’t have Web Shop yet, you can get started quickly by instantly creating Web Shop, adding payment links to your game, and going live.

SDK approach

Use Web Shop link-outs when you want minimal code changes by redirecting the user to your existing Xsolla Web Shop to complete the purchase.

警告

In Web Shop link-out mode, the SDK does not execute its native in-app payment flow. It only opens the Web Shop and cancels any SDK purchase callbacks. Handle fulfillment and post-payment updates via your Web Shop processes (for example, webhooks or server-side logic), not via SDK purchase callbacks.

Select your platform to get started with the integration: