API access and integration with Microsoft Partner Center for managing partner data
To address your issues with the in-app purchase (IAP) for the durable add-on in your packaged WPF app, here are some insights based on the context provided:
- Entitlement Detection: The entitlement for a durable add-on should indeed be returned through
GetAppLicenseAsync()and should reflect the status of any redeemed promo codes. If the promo code was successfully redeemed, the entitlement should be active. Ensure that the add-on is correctly defined in Partner Center and that the promo code has been redeemed on the same Microsoft account that is being used to test the app. - Known Issues/Delays: There can be delays in entitlement propagation after redeeming promo codes, especially in scenarios involving private audience distribution. It’s recommended to allow some time for the changes to propagate. Additionally, check the audience settings and market availability in Partner Center to ensure they are correctly configured for your app and add-on.
- Store ID vs. Product ID: For reliable entitlement detection in desktop packaged apps, you should be using the add-on Store ID instead of the Product ID (offer token). The Store ID is the unique identifier that the Store uses to track the add-on, and it is crucial for ensuring that your app can accurately check the entitlement status.
If you continue to experience issues, consider reviewing the configuration in Partner Center or testing with different Microsoft accounts to rule out account-specific issues.
References: