wood burning stoves*
The moose likes Other Open Source Projects and the fly likes Please help with Google in app payments Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Please help with Google in app payments" Watch "Please help with Google in app payments" New topic

Please help with Google in app payments

William H Taylor

Joined: Apr 22, 2009
Posts: 16
I am new to java programming. I am trying to implement a java servlet that processes google in app payments. I am trying to work my way through the code snippet that they provided. The code they have verbatim is below. My first question is how do I set up the servlet? Do I put a call in the doPost method of the servlet? If I leave it outside, the container wont call it right? What calls the getJWT() method? Third what do I do with the String that the method returns?

Here is the getting started page: https://developers.google.com/in-app-payments/docs/tutorial

William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 860

Hello William, Welcome.

These are both private methods so I'm not sure what is missing.

I don't have time to go through your provided link, but they obviously have to get called from somewhere.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Please help with Google in app payments
Similar Threads
JSON exception catching
Rest based post for receiving and reponding with json
Reading Nested Json in Java
common URL Mapping for filter