|
Project Information
Members
Featured
Downloads
Wiki pages
Links
|
gcheckyGchecky 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. Demohttp://demo.gchecky.com/ is a demo django project that demonstrates the usage of gchecky. Source code of the demo is one of gchecky samples. DocumentationProject documentation is generated from inline docs in the source code. Current statusA version 0.2 will soon see the light. It will contain a working django project with samples for three type of GC usage:
|