This is a sample application for Cordova InAppBilling plugin: https://github.com/mohamnag/InAppBilling