I am trying to create an application in ionic 2 by embedding stripe payment gateway. I have included com.telerik.stripe plugin. On trying to display the console log on app initialization, window.stripe remains undefined and i am getting error as "Property 'stripe' does not exist on type 'Window'". Is there any tutorial to embed stripe with ionic 2 application. Please help. Thanks in advance.
I finally found the solution to make stripe to work in ionic2. The solution is to run "ionic build " after adding the plugin. Once done, displaying console log as "stripe" under platform ready event defines the stripe in my project. :)