Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install authorizesauce

How to install AuthorizeSauce

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install authorizesauce
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1-dev
0.2.1Never BuiltWhy not?
0.1-dev Available View build log
Windows (64-bit)
0.1-dev
0.2.1Never BuiltWhy not?
0.1-dev Available View build log
Mac OS X (10.5+)
0.1-dev
0.2.1Never BuiltWhy not?
0.1-dev Available View build log
Linux (32-bit)
0.2
0.2.1Never BuiltWhy not?
0.2 Available View build log
0.1-dev Available View build log
Linux (64-bit)
0.2.1 Available View build log
0.2 Available View build log
0.1-dev Available View build log
 
Author
License
MIT
Dependencies
Lastest release
version 0.2.1 on Jan 9th, 2014

The secret sauce for accessing the Authorize.net API. The Authorize APIs for transactions, recurring payments, and saved payments are all different and awkward to use directly. Instead, you can use Authorize Sauce, which unifies all three Authorize.net APIs into one coherent Pythonic interface. Charge credit cards, easily!

>>> # Init the authorize client and a credit card
>>> from authorize import AuthorizeClient, CreditCard
>>> authorize = AuthorizeClient('285tUPuS', '58JKJ4T95uee75wd')
>>> cc = CreditCard('4111111111111111', '2018', '01', '911', 'Joe', 'Blow')
>>> card = client.card(cc)

>>> # Charge a card
>>> card.capture(100)
<AuthorizeTransaction 2171829470>

>>> # Save the card on Authorize servers for later
>>> saved_card = card.save()
>>> saved_card.uid
'7713982|6743206'

>>> # Use a saved card to auth a transaction, and settle later
>>> saved_card = client.saved_card('7713982|6743206')
>>> transaction = saved_card.auth(200)
>>> transaction.settle()

Saucy Features

  • Charge a credit card
  • Authorize a credit card charge, and settle it or release it later
  • Credit or refund to a card
  • Save a credit card securely on Authorize.net's servers
  • Use saved cards to charge, auth and credit
  • Create recurring charges, with billing cycles, trial periods, etc.

For the full documentation, please visit us at Read the Docs. Thanks to Chewse for supporting the development and open-sourcing of this library. Authorize Sauce is released under the MIT License.

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.