Hi
Could anyone provide some guidance on how to implement licensing for a Forge App?
Reading the docs here and here
is causing some confusion related the testing and checking of the license.
We want to change from a free app to Paid via Atlassian, which would require a new version and subsequent re-approval.
In order to change the Payment model for an existing app (except for the two situations listed above), you’ll need to release a new version with this change in place.
As per the docs we add licensing: enabled: true to our manifest.yml file.
But it also states:
“Additionally, you should check the license status of your app when your functions are invoked, and implement reduced functionality if your app is unlicensed.”
The app does not offer differing levels of functionality, we just want to bill based on the number of users in the Confluence instance, e.g. 0-10 = free, 11-50 = 0.5c per user etc.
Blockquote In the Atlassian product, the Universal Plugin Manager (UPM) checks the validity of app licenses. The Atlassian product reports the licensing status of the instance to the app in each request. The UPM provides an API that apps use to access the Atlassian licensing system for its license checks.
If we use the Paid via Atlassian payment model, does the UPM handle the licensing checks or how should this be implemented?
Thanks