Skip to main content

Abstract interfacing with online payment gateways.

Project description

Quixotix Payment 0.1.0 Beta
============================

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
------------------

* Authorize.NET AIM - http://www.authorize.net
* PSiGate XML Messenger - http://www.psigate.com
* Quantam Gateway Authorize.Net Emulation - http://www.quantamgateway.com


Install
-------

easy_install quix.pay


Basic Usage
-----------

from quix.pay.transaction import CreditCard
from quix.pay.gateway.authorizenet import AimGateway

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

gateway = AimGateway('27Sm68dAsqj', '8wcd7TA488W5vMgF')
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,
response.status_strings[response.status],
response.message)

Project details


Download files

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

Source Distribution

quix.pay-0.1.1.tar.gz (9.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page