/authorizesauce-wsdl

Fork of authorizesauce to allow local hosting of WSDL file

Primary LanguagePythonMIT LicenseMIT

FORK

This is a fork of the excellent authorizesauce repo to allow more flexibility with local settings specifically using Django settings

Usage

In the settings.py file for the django app using this library, add the following settings parameter to use your own version of Authorize.net's WSDL data

AUTHORIZE_TEST_URL = '<hosted url>'

Seeking New Project Maintainer

I no longer use Authorize.net for payment processing, no longer use authorizesauce, and do not have the time to properly maintain this project. If anyone is willing to step up and take over, I would happily hand over the reins to someone better suited than me. Please find my email at https://github.com/jeffschenck and reach out if you're interested.

Thanks to everyone who's contributed and helped out with the project!

Authorize Sauce

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
>>> client = 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.