You now have the back-end code to cancel a subscription. This video explains how to adjust the visual side of things.
- [Instructor] Now we've written all the code…- [Instructor] Now we've written all the code…for our settings view.…for our settings view.…Let's go ahead and move into the template.…Let's go ahead and move into the template.…If we go inside of our templates directory…If we go inside of our templates directory…into registration, we can go to our settings.html.…into registration, we can go to our settings.html.…So, let's go ahead and write our code…So, let's go ahead and write our code…in between these two divs, the opening and ending div there.…in between these two divs, the opening and ending div there.…And so the first thing that we want to check…And so the first thing that we want to check…is to see if this person is going to cancel…is to see if this person is going to cancel…at the end of their membership.…at the end of their membership.…So, what we're going to do is add our percentage tags here,…So, what we're going to do is add our percentage tags here,…and we're going to say if cancel at end of period,…
Released
3/1/2019- Using APIs
- Leveraging the Stripe dashboard
- Building a checkout page
- Configuring payment periods
- Working with the Stripe frontend
- Handling data
- Implementing a coupon system
- Processing payments
- Analyzing Stripe data
- Creating user models
- Allowing for subscription cancellations
Share this video
Embed this video
Video: Settings view