Django + Stripe made easy


Keywords
billing, django, finance, fintech, payments, python, stripe, subscriptions
License
MIT
Install
pip install dj-stripe==0.3.0

Documentation

dj-stripe - Django + Stripe Made Easy

Stripe Verified Partner

CI tests Package Downloads Documentation Sponsor dj-stripe MIT License

Stripe Models for Django.

Introduction

dj-stripe implements all of the Stripe models, for Django. Set up your webhook endpoint and start receiving model updates. You will then have a copy of all the Stripe models available in Django models, as soon as they are updated!

The full documentation is available on Read the Docs.

Features

  • Stripe Core
  • Stripe Billing
  • Stripe Cards (JS v2) and Sources (JS v3)
  • Payment Methods and Payment Intents (SCA support)
  • Support for multiple accounts and API keys
  • Stripe Connect (partial support)
  • Tested with latest Stripe API (see API versions)

Requirements

  • Django >=5.0
  • Python >=3.11
  • PostgreSQL engine (recommended) >=12
  • MySQL engine: MariaDB >=10.5 or MySQL >=8.0
  • SQLite: Not recommended in production. Version >=3.26 required.

Installation

See installation instructions.

Changelog

See release notes.

Funding and Support

Funded by Stripe

You can now become a sponsor to dj-stripe with GitHub Sponsors.

We've been bringing dj-stripe to the world for over 10 years and are excited to be able to start dedicating some real resources to the project.

Your sponsorship helps us keep a team of maintainers actively working to improve dj-stripe and ensure it stays up-to-date with the latest Stripe changes. If you use dj-stripe commercially, we would encourage you to invest in its continued development by signing up for a paid plan. Corporate sponsors receive priority support and development time.

Similar libraries