Skip to main content

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

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

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.4.tar.gz (9.8 kB view details)

Uploaded Source

File details

Details for the file quix.pay-0.1.4.tar.gz.

File metadata

  • Download URL: quix.pay-0.1.4.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for quix.pay-0.1.4.tar.gz
Algorithm Hash digest
SHA256 7e19b7a6cb2554799188788361a675ea6b7012e36259d249ce340d3d0378f446
MD5 f90306cf525357293df87c2850dc4805
BLAKE2b-256 3066c751259f018f5334088fbab7a948dc259975a0f9ae013bd46c0056d63050

See more details on using hashes here.

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