Please note the official branch for HiiCart has been moved to the Hiidef organization account
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

HiiCart - Django Shopping Cart

A simple shopping cart implementation with support for PayPal, Google Checkout, and Amazon Payments.

Installation and Setup

Installation is as easy as installing with easy_install or pip and adding the appropriate settings for the gateways you want to use. Please see the documentation in hiicart/ for more details about the settings available.

Once set up, create LineItem and HiiCart objects to submit payments:

def foo():
    cart = HiiCart.objects.create() 
        cart=cart, description="foo", name="bar",
        quantity=1, sku="12345", thankyou="thanks!",
    return cart.submit("google")

This returns an object containing the redirect URL for you user.

Example App

An example app is included that shows very generally how to get everything set up and working. Right now it really needs a lot of work, but is functional for the most basic case.