Monetization features let you sell content or services that enhance a user’s experience. Manage products and prices in the Developer Dashboard under Monetization > Add-ons.
For PWAs, in-app purchases (IAP) are currently supported only in WebXR PWAs. Monetization decisions can provide additional revenue and support an app after it launches in the Meta Horizon Store.
In-app purchases
Use IAP to sell digital content, services, passes, or rewards from a WebXR PWA. The IAP guide covers implementation and testing guidance.
Before requesting the Digital Goods service, confirm that the WebXR PWA exposes the API:
if (!("getDigitalGoodsService" in window)) {
throw new Error("Digital Goods service is unavailable.");
}
This check does not replace Store-channel installation or add-on configuration. Follow the IAP guide to request the Meta Horizon billing service, query products, and handle purchases.