Integrate Ingame Transaction using Framework7-Svelte

How should I approach adding Ingame Transaction into my Application using Framwork7 Svelte?

What is Ingame Transaction? In-app purchase? If it is a cordova app then use relevant plugin like this one

how to call the plugin? from svelte can’t call to window.pluginObj

update: can be accessed from within

if (Device.cordova) { cordovaApp.init(f7);