How to integrate Microsoft Store add-ins for subscription in an Electron + TypeScript app? [closed]

1 week ago 14
ARTICLE AD BOX

I’m developing a desktop application using Electron and TypeScript, and I need to implement a subscription service through the Microsoft Store. Specifically, I want to use Microsoft Store add-ins to handle purchases and subscription management within the app.

What I’ve tried so far:

I looked into the Microsoft Store APIs and the Windows.Services.Store namespace, but I’m unsure how to integrate it with Electron since Electron runs on Chromium and isn’t a native UWP app.

I also explored the possibility of using the Microsoft Store Services SDK or REST APIs, but I haven’t found clear guidance for Electron.

My main questions are:

Is it possible to integrate Microsoft Store add-ins/subscriptions directly into an Electron app?

If yes, what’s the recommended approach? Should I use the Microsoft Store REST APIs, or is there a JavaScript/TypeScript library available?

Are there any working examples or documentation for implementing Microsoft Store purchases in an Electron + TypeScript environment?

Any help or pointers to relevant resources would be greatly appreciated.

Read Entire Article