lib_unity_purchase/Documentation~/UnityIAPUniversalWindows.md

14 lines
527 B
Markdown
Raw Normal View History

2024-01-29 18:49:33 +08:00
# Testing
## Simulator
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.