diff --git a/docs/integration.rst b/docs/integration.rst index 544bd80de..f000b48d6 100644 --- a/docs/integration.rst +++ b/docs/integration.rst @@ -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 ================ diff --git a/setup.py b/setup.py index d4fa6f723..0d32e7002 100644 --- a/setup.py +++ b/setup.py @@ -56,6 +56,9 @@ "mezzanine >= 4.1.0", "xhtml2pdf", ], + extras_require={ + 'stripe': ['stripe'], + }, classifiers=[ "Development Status :: 4 - Beta",