Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

IStoreCallback.OnSetupFailed

public void OnSetupFailed(Purchasing.InitializationFailureReason reason);

Parameters

reason The reason purchasing is unavailable.

Description

Indicate that IAP is unavailable for a specific reason, such as IAP being disabled in device settings.

Note that stores should retry initialisation indefinitely if the device is offline, whilst taking care not to impact device performance.

Did you find this page useful? Please give it a rating: