Django and Stripe subscriptions 

Django and Stripe subscriptions 

On this Part 3 we will learn how to manage subscriptions and how to update our customer data in case something changes in Stripe.

In the previous part of this tutorial series, we perform the following:

  • Stripe configuration, products and coupons
  • Views and html templates for checkout
  • Configured the static javascript files
  • Collected a test payment

On this Part 3 we will learn how to manage subscriptions and how to update our customer data in case something changes in Stripe.


1) Our settings page

If you remember from the previous articles, we had a settings page that only logged in members could access.

We will now expand that page so in case a user has a membership he can view the membership information and cancel if necessary.

Let’s start by changing our view to get the Stripe membership information:

python3 django stripe membership subscription

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Django and Stripe subscriptions 

So you want to build a membership site or charge for your digital product/downloads and don’t know what tool to use? Use Django.

Using Django and Stripe for Monthly Subscriptions

If you are familiar with Stripe, you know how big of a player they are in the online payment processing field. Their API not only allows programmers to easily create one-time payments for sites such as e-commerce stores, but also provides quick...

How to Integrate Stripe Connect Into Django Application

In this tutorial I'll demonstrate how to configure a new Django website from scratch to accept one-time payments with Stripe. Learn how to integrate Stripe Connect into a Django application. There are currently three ways to accept one-time payments with Stripe: Charges API (legacy), Stripe Checkout (the focus of this tutorial), Payment Intents API (often coupled with Stripe Elements)

Main Pros and Cons of Django As A Web Framework for Python Developers

India's best Institute for Django Online Training Course & Certification. Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Django Stripe Tutorial

In this tutorial I'll demonstrate how to configure a new Django website from scratch to accept one-time payments with Stripe.