I am using @nraboy in app purchase method. It is working excellent in iOS 8 but not working in iOS 9. After completing the in app purchase it is not getting re-directed to
purchase : function (transactionId, productId, receipt) {
if (productId === ‘productID1’) {
}
}
I am not understanding at all. Your help is much appreciated.
Thanks in Advance
I have a problem with this plugin as well, I followed the documentation, but when I get to the initialization function to test if everything is alright, I get “store is not defined”.
And I did include the following function in the deviceready listener:
Do I only have to add the plugin with the cordova command?
Or do I need to include some js in my index file as well? To include dependencies in my app.js?
I found a new issue in @nraboy. It is working fine if we buy the product for the first time and if we buy the product second time by deleting the app with the same test id, It is showing an alert message that it will be restored for free and nothing is getting updated.
Restore is completely not working
The above issues are only in iOS 9 and in iOS 8 it is working awesome.
I’ve created an App template in CodeCanyon here: http://codecanyon.net/user/studiomob/portfolio?ref=StudioMob that includes functional working code of InAppPurchase integration in Ionic Framework as well as other plugins such as: InAppBrowser, SQLite, CopyDB, Admob, Analytics, SocialSharing and more.
Definitely it will help you achieve your project goals.