Just when I thought we were so close... in signing up for Apple Developer and Google Developer accounts, I found that both have restrictions that you must use their markets for purchasing any digital goods in the application. I failed to anticipate that restriction :-( My in-app purchasing is not done with their markets. Actually, it isn't even in-app purchasing technically, because I link out to our web site to do a purchase. That's also against the terms of both companies.
So.... I need to implement in-app billing for both Apple and Android. Luckily, very recently an in-app billing Phonegap Plugin was made for just that purpose! Plugins are separate per OS, so that meant I also needed to split the market page into a version for each OS. I tried the Android one first, and it worked! You just use Google's test product IDs, and they come back with fake success messages. So cool to see the Google Play market open for the first time.
But then.... I discovered that the Plugin seems to be missing a few key features I needed, like the purchaseToken and the API call to consume an in-app purchase. It looks like I may need to do those parts of the plugin myself. If I succeed in improving the plugin, of course I would want to share those changes with other PhoneGap users. That means that I've finally made my way to the GitHub community. I feel like I'm just barely understanding everything I'm doing, so hopefully I don't make a fool of myself there. It may be too late as I've already tried to message someone and hopefully didn't send the message to a bunch of people :-/
So much to learn!
No comments:
Post a Comment