Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Abstract credit card processing with online payment gateways such as Authorize.Net.

Project Description

Copyright (c) 2010, 2011 Quixotix Software, LLC All Rights Reserved.

Quixotix Payment is a set of classes for abstract interfacing with online payment gateways used to process credit card transactions.

Supported Gateways



Example Usage

Simple authorize request using Authorize.NET in test mode:

from import CreditCard
from import AimGateway

card = CreditCard(
    number = '4111111111111111',
    month = '10',
    year = '2020',
    first_name = 'John',
    last_name = 'Doe',
    code = '123'

gateway = AimGateway('YOUR API LOGIN', 'YOUR API PASSWORD')
gateway.use_test_mode = True
gateway.use_test_url = True
response = gateway.authorize(1, card)

print "Authorize Request: %s" % gateway.get_last_request().url
print "Transaction %s = %s: %s" % (response.trans_id,

The author has posted an article on using with the Authroize.Net AIM gateway on his blog:

Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (9.8 kB) Copy SHA256 Checksum SHA256 Source Mar 27, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting