Skip to content

Commit

Permalink
Document built-in payment handlers.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryneeverett committed Jan 19, 2016
1 parent 73367d6 commit ea24244
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
37 changes: 37 additions & 0 deletions docs/integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,43 @@ shipping, discount and tax amounts. If there is a payment error
handler function will be called directly upon the customer
submitting payment info.

There are a few built-in payment handlers you may want to use:

Authorize.Net
-------------

::
SHOP_HANDLER_PAYMENT = 'cartridge.shop.payment.authorizenet.process'
AUTH_NET_LOGIN = ''
AUTH_NET_TRANS_KEY = ''

Egate
-----

::
SHOP_HANDLER_PAYMENT = 'cartridge.shop.payment.egate.process'
EGATE_ACCESS_CODE = ''
EGATE_MERCHANT = ''

Paypal
------

::
SHOP_HANDLER_PAYMENT = 'cartridge.shop.payment.paypal.process'
PAYPAL_USER = ''
PAYPAL_SIGNATURE = ''

Stripe
------

.. note::

Requires the ``stripe`` library from pypi.

::
SHOP_HANDLER_PAYMENT = 'cartridge.shop.payment.stripe_api.process'
STRIPE_API_KEY = ''

Order Processing
================

Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
"mezzanine >= 4.1.0",
"xhtml2pdf",
],
extras_require={
'stripe': ['stripe'],
},

classifiers=[
"Development Status :: 4 - Beta",
Expand Down

0 comments on commit ea24244

Please sign in to comment.