• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Please help with Google in app payments

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
Ranch Hand
Posts: 859
IBM DB2 Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

WP
 
reply
    Bookmark Topic Watch Topic
  • New Topic