Skip to content
forked from Quixotix/quix.pay

Abstract interfacing with online payment gateways such as Authorize.Net.

License

Notifications You must be signed in to change notification settings

tachang/quix.pay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quixotix Payment 0.1.4 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


Installation
------------

    easy_install quix.pay
    

Example Usage
-------------

Simple authorize request using Authorize.NET in test mode::

    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('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, 
                                       response.status_strings[response.status], 
                                       response.message)

The author has posted an article on using quix.pay with the Authroize.Net AIM
gateway on his blog:
http://www.micahcarrick.com/python-authorize-net-payment-gateway.html

About

Abstract interfacing with online payment gateways such as Authorize.Net.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%