Using Google Checkout SDK

The Google Checkout API Java SDK provides a library and instructions to integrate Google Checkout XML APIs in your Web applications. The release notes document the updates in this release.

Using the SDK

The remainder of the instructions assume that you unzipped the checkout sdk at checkout-sdk/ directory. Here are the steps to use this SDK:
  1. Copy checkout-sdk.jar to your WEB-INF/lib
  2. Copy checkout-sdk/web/WEB-INF/checkout-config.xml to your WEB-INF/ directory
  3. Edit your WEB-INF/web.xml and cut-and-paste the contents from web/WEB-INF/web.xml
    1. If you need to add additional handlers to process checkout notifications, edit checkout-config.xml and change default value of the handlers to your classes.
    2. Use Checkout SDK Javadocs to extend notification handlers
    3. The Checkout SDK Source code is available under the project/ directory if you need to learn how the notification handlers work
  4. Copy over the contents of web/checkout to a suitable directory in your application. For example, web/checkout
  5. Your application is now ready to use Google Checkout APIs. Deploy it on tomcat or another application server to test the integration.

Building the Source-code

The source-code for Checkout SDK is included in the project/ directory.