Skip to main content
Use this guide to troubleshoot Payment Links SDK status codes and possible integration issues.

Available status codes

The following status codes apply to Unity 2.5.0, Android 1.6.0, iOS 1.8.0, and above:
Checkout session expiry isn’t returned as a separate SDK status. If checkout is opened with an expired checkout session, the browser loads and displays Something went wrong.. The SDK currently treats this as a purchase cancellation because it can’t distinguish between a canceled purchase and an expired session.

Possible integration issues

The following issues can affect specific SDK platforms, versions, or project configurations. Some Unity versions might prevent the Back to Game button from returning players to the game on iOS while the app is running. Android isn’t affected. This issue is caused by the Unity engine. In affected versions, Unity automatically adds the UIApplicationSceneManifest key to the iOS Info.plist. This prevents Unity from invoking Application.deepLinkActivated, which the Payment Links SDK uses to return players to the game after checkout. Known affected Unity versions:
  • 2022.3.75f1
  • 6000.0.68f1
  • 6000.0.69f1
  • 6000.3.10f1
  • 6000.4.0b11
  • 6000.5.0a7
  • 6000.6.0a1
To fix the issue, after each iOS build:
  1. Open the generated Xcode project.
  2. Open Info.plist.
  3. Remove the UIApplicationSceneManifest key and its contents.
Unity regenerates Info.plist on each build, so repeat this workaround after every iOS build.
Unity 6000.3.78f1 or later includes the official fix. If you decide to upgrade Unity instead of applying the Info.plist workaround, test the upgrade thoroughly before releasing.