My favorites | Sign in
Project Logo
                
Show all Featured wiki pages:
About Tutorial TutorialForLevel2
People details
Project owners:
  etarassov
Project committers:
chanezon

gchecky

Gchecky is a library written in python for using Google Checkout Level 2 Integration XML API. It makes it easy to integrate your order processing system with Google Checkout and ensure that all the interactions with checkout servers are automatically validated, converted from python values to XML (and back) and checked for errors - all that is done by gchecky underneath.

With gchecky an order creation is as easy as writing:

gchecky.model import *
cart = controller.prepare_order(
  order = checkout_shopping_cart_t(
    shopping_cart=shopping_cart_t(
      items = [item_t(
          name='Tom photo',
          description='A beautiful photo of my cat Tom',
          unit_price=price_t(
            value=.99,
            currency='USD'),
          quantity=1)],)))
print cart.html()

Order notification processing is as easy. In your code you manipulate python objects, which mimic Google Checkout XML API messages. Gchecky does all the necessary validation and conversion to/from XML on the fly.

Demo

http://demo.gchecky.com/ is a demo django project that demonstrates the usage of gchecky. Source code of the demo is one of gchecky samples.

Documentation

Project documentation is generated from inline docs in the source code.

Current status

A version 0.2 will soon see the light. It will contain a working django project with samples for three type of GC usage:

All three have custom order processing system - a simple one. It will demonstrate the usage of gchecky.









Hosted by Google Code