Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Business Central forum

Self Monetization bypass in an Extension from AppSource possible?

(0) ShareShare
ReportReport
Posted on by 2,245

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!  

Categories:
  • jcastro Profile Picture
    2,245 on at
    RE: Self Monetization bypass in an Extension from AppSource possible?

    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!

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: Self Monetization bypass in an Extension from AppSource possible?

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans