Hello friends!
I am looking into the self monetization process that was published by Microsoft (this https://www.youtube.com/watch?v=M6QpnNtDPys) and I was wondering the following:
As far as I know, I could in theory, install an Business Central App from AppSource with this Stripe integration (or any other monetization integration I guess), and if I didn't want to pay the money, I could create an extension from VSCode and create a dependency from the App (I can get the info by going to the extension card in BC) that would allow me to find what tables the App uses and where the status of the suscription is stored, and change it from my own extension to a validated state. Am I thinking this right or am I missing something? I think this would work with the ShowMyCode=false as well.
If I am right, I think the only solution would be not storing any status of suscription in any table of the App, and check everytime the App is called the current status of the suscription. But doing that increases significantly the cost of the Striple platform, as it charges for consumption/usage.
Food for thought. Please share your opinions!
Hi Stefano. Maybe you didn't totally understand me, but you gave a good answer regardless :-)
I wasn't aware of Isolated Storage, I just saw your post about it and others. Thank you very much!
I’ve not totally understood the question but sensitive data like license keys, subscription status and so on for an extension must never be stored on a table but instead you should use the Isolated Storage. Here you can save a key/value pair with a visibility DataScope and noone outside your extension ‘s code can see or alter this data.