Django + Stripe Made Easy¶
- Subscription management
- Designed for easy implementation of post-registration subscription forms
- Single-unit purchases
- Works with Django >= 2.0
- Works with Python >= 3.4
- Built-in migrations
- Dead-Easy installation
- Leverages the best of the 3rd party Django package ecosystem
- djstripe namespace so you can have more than one payments related app
- Documented
- 100% Tested
Contents¶
Getting Started
Usage
Reference
- Context Managers
- Decorators
- Enumerations
- ApiErrorCode
- BankAccountHolderType
- BankAccountStatus
- CardCheckResult
- CardBrand
- CardFundingType
- CardTokenizationMethod
- ChargeStatus
- CouponDuration
- DisputeReason
- DisputeStatus
- PayoutFailureCode
- PayoutMethod
- PayoutStatus
- PayoutType
- PlanInterval
- SourceFlow
- SourceStatus
- SourceType
- LegacySourceType
- SourceUsage
- SourceCodeVerificationStatus
- SourceRedirectFailureReason
- SourceRedirectStatus
- SubscriptionStatus
- Managers
- Middleware
- Models
- Settings
- STRIPE_API_VERSION (=‘2018-05-21’)
- DJSTRIPE_IDEMPOTENCY_KEY_CALLBACK (=djstripe.settings._get_idempotency_key)
- DJSTRIPE_PRORATION_POLICY (=False)
- DJSTRIPE_SUBSCRIPTION_REQUIRED_EXCEPTION_URLS (=())
- DJSTRIPE_SUBSCRIBER_CUSTOMER_KEY (=”djstripe_subscriber”)
- DJSTRIPE_SUBSCRIBER_MODEL (=settings.AUTH_USER_MODEL)
- DJSTRIPE_SUBSCRIBER_MODEL_MIGRATION_DEPENDENCY (=”__first__”)
- DJSTRIPE_SUBSCRIBER_MODEL_REQUEST_CALLBACK (=None)
- DJSTRIPE_USE_NATIVE_JSONFIELD (=False)
- DJSTRIPE_WEBHOOK_URL (=r”^webhook/$”)
- DJSTRIPE_WEBHOOK_SECRET (=”“)
- DJSTRIPE_WEBHOOK_VALIDATION= (=”verify_signature”)
- DJSTRIPE_WEBHOOK_TOLERANCE (=300)
- DJSTRIPE_WEBHOOK_EVENT_CALLBACK (=None)
- STRIPE_API_HOST (= unset)
- Utilities
Project
- Contributing
- Test Fixtures
- Credits
- History
- 2.0.5 (2019-09-12)
- 2.0.4 (2019-09-09)
- 2.0.3 (2019-06-11)
- 2.0.2 (2019-06-09)
- 2.0.1 (2019-04-29)
- 2.0.0 (2019-03-01)
- 1.2.4 (2019-02-27)
- 1.2.3 (2018-10-13)
- 1.2.2 (2018-08-11)
- 1.2.1 (2018-07-18)
- 1.2.0 (2018-06-11)
- 1.1.0 (2018-06-11)
- 1.0.0 (2017-08-12)
- 0.8.0 (2015-12-30)
- 0.7.0 (2015-09-22)
- 0.6.0 (2015-07-12)
- 0.5.0 (2015-05-25)
- 0.4.0 (2015-04-05)
- 0.3.5 (2014-05-01)
- 0.3.4 (2014-05-01)
- 0.3.3 (2014-04-24)
- 0.3.2 (2014-01-16)
- 0.3.1 (2013-11-14)
- 0.3.0 (2013-11-12)
- 0.2.9 (2013-09-06)
- 0.2.8 (2013-09-02)
- 0.2.7 (2013-08-24)
- 0.2.6 (2013-08-20)
- 0.2.5 (2013-08-18)
- 0.2.4 (2013-08-18)
- 0.2.3 (2013-08-16)
- 0.2.2 (2013-08-15)
- 0.2.1 (2013-08-12)
- 0.2.0 (2013-08-12)
- 0.1.7 (2013-08-08)
- 0.1.6 (2013-08-08)
- 0.1.5 (2013-08-08)
- 0.1.4 (2013-08-08)
- 0.1.3 (2013-08-7)
- 0.1.2 (2013-08-6)
- 0.1.1 (2013-08-6)
- 0.1.0 (2013-08-5)
- Support
- Release Process
Constraints¶
- For stripe.com only
- Only use or support well-maintained third-party libraries
- For modern Python and Django