Unity IAP features support for Microsoft’s In App Purchase simulator, which allows you to test IAP purchase flows on devices before publishing your application.
The simulator can be enabled when configuring Unity IAP before initialization, as follows:
var builder = ConfigurationBuilder.Instance(StandardPurchasingModule.Instance()); builder.Configure<IMicrosoftConfiguration>().useMockBillingSystem = true;
Make sure you disable the mock billing system before publishing your application.
• 2017–05–16 Page amended with no editorial review
Did you find this page useful? Please give it a rating: