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

Django and Stripe subscriptions 
3.90 GEEK