title: Android verify IAP subscription server side with Ruby
body: <p>I have been googling and searching and this is killing me.  I am just trying to setup our RoR server to be able to query the google play purchases API to validate if a subscription has been renewed and I cannot seem to find an actual solution.  I have been through all of the google documentation.  It appears I need a service account as described here</p>
  
  <p><a href="https://developers.google.com/accounts/docs/OAuth2ServiceAccount" rel="nofollow">https://developers.google.com/accounts/docs/OAuth2ServiceAccount</a></p>
  
  <p>But then I found this python article on how they actually want us to use the web server application flow</p>
  
  <p><a href="http://milancermak.wordpress.com/2012/08/24/server-side-verification-of-google-play-subsc/" rel="nofollow">http://milancermak.wordpress.com/2012/08/24/server-side-verification-of-google-play-subsc/</a></p>
  
  <p>I don't really care at this point, I just need to get the server to successfully talk to the Google API to validate/renew subscriptions.  I have found 0 articles on how this flow works.  Has anyone gotten this working??</p>