
This is an introduction to the course. It covers the goals and scope of the course, the minimum skills for a great experience in the course and a high level view of the curriculum sections.
Course Change log:
Tips for how to follow along in the course and to use the download practice files.
"Sessions" mentioned in the guide correspond to a Udemy "Lecture".
These are the files used in this course.
The technologies and services needed to follow the course are covered. They include the web server, Stripe accounts, Stripe API keys, the Stripe PHP library and a PHP SQL database.
A PDF version of the video is included in the additional resources for this lecture.
A guide to how the course files are organized and used for this section.
"Sessions" mentioned in the guide correspond to a Udemy "Lecture" in this section.
This covers the web server environment to use Stripe to follow along in the course. Digital certificates are covered along with required version of PHP.
A PDF version of the video is included in the additional resources for this lecture.
A Stripe account is needed for the course. This covers the types of account statuses and the Stripe Dashboard.
A PDF version of the video is included in the additional resources for this lecture.
The use of the secret and publishable Stripe API keys is discussed for both live and test mode. You learn about maintaining them for security. You examine the PHP file that we use in the course to make them available to our code.
A PDF version of the video is included in the additional resources for this lecture.
This covers installing and using the Stripe PHP Library. You will learn about the manual method and the Composer alternative. The Github repository is stressed for keeping up to date. The relationship of the Stripe API to the Stripe PHP Library is covered.
A PDF version of the video is included in the additional resources for this lecture.
A database is used in the course. We look at the options and technologies such as PDO, PHP Data Objects and SQL, Structured Query Language.
A PDF version of the video is included in the additional resources for this lecture.
We are using the PDO library and the SQLite3 Database. In this session we learn how to test for these. We write developer testing scripts to verify that they are installed and working.
We also review installing the Firefox SQLite Manager Add-on for use in the course.
A PDF version of the video is included in the additional resources for this lecture.
Students who wish to use a MySQL database instead of SQLite3 read the attached PDF explaining the changes to the development environment and the replacement files.
An overview to the topics covered in this section.
This section explores the core webpages that would accompany a subscription signup form using Stripe. This section explores the core pages and how they might work if the site were about content.
We look at the webpages for such a site, subscription content access and user login access.
A PDF version of the video is included in the additional resources for this lecture.
IMPORTANT Update 3/8/17
The ui_content.php file instructions assume your version of PHP has the short_open_tag option set to on.
The PHP short open tag is <?
The normal PHP open tag is <?php
You should use the normal PHP open tag for the ui_content.php file as that will work in all current supported versions of PHP.
Also PHP 7 eliminates the short open tag. A competed version of the ui_content.php file using the normal PHP open tag is added to this lesson for your convenience.
A guide to how the course files are organized and used for this section.
"Sessions" mentioned in the guide correspond to a Udemy "Lecture" in this section.
In this session we tour the project's user interface pages and work with handling the login access.
We will look at the proposed access for a multilevel subscription website. We see how we can separate and map subscription plans, public access and content access.
A PDF version of the video is included in the additional resources for this lecture.
An overview to the topics covered in this section.
We setup the subscription plans setup for our project.
We do that both in Stripe and on our own web server.
In Stripe we use both the Stripe dashboard to create plans and we use the Stripe API for building plans to facilitate our testing environment.
Then we integrate them into our user checkout interface and web server.
A PDF version of the video is included in the additional resources for this lecture.
A guide to how the course files are organized and used for this section.
"Sessions" mentioned in the guide correspond to a Udemy "Lecture" in this section.
We add and edit recurring billing plans in the Stripe dashboard. We look at ramifications of deleting a plan.
A PDF version of the video is included in the additional resources for this lecture.
In this session we add a script that will create all our plans using the Stripe API.
This provides us way to recreate your subscription plans when testing.
A PDF version of the video is included in the additional resources for this lecture.
In this session we are going to set up a backend data source for our subscription plans. Stripe will maintain the billing aspect of our plans. We want our own resource that not only keeps the plan data such as id, name and price, but also what content access level is allowed for the plan.
A PDF version of the video is included in the additional resources for this lecture.
We write Javascript to request and load our server plan data resource.
A PDF version of the video is included in the additional resources for this lecture.
In this session we will integrate plan data into the subscription form rendering.
We will use the plan data in our subscription form buttons.
A PDF version of the video is included in the additional resources for this lecture.
An overview to the topics covered in this section.
We are going to create an SQLite 3 database. We will write the SQL to build a customer table and add records. We test our code and create a database layer for the project architecture.
A PDF version of the video is included in the additional resources for this lecture.
guide to how the course files are organized and used for this section.
"Sessions" mentioned in the guide correspond to a Udemy "Lecture" in this section.
In this session we create our database using SQLite3 and connect to it using PDO.
A PDF version of the video is included in the additional resources for this lecture.
This session writes the SQL CREATE and DROP statements and uses PDO to create the customers table and investigates the purpose and data for the customers table fields.
A PDF version of the video is included in the additional resources for this lecture.
This session writes the SQL INSERT statement and uses PDO to create a script to add a record to the customer table. Password encryption data covered.
A PDF version of the video is included in the additional resources for this lecture.
This session tests the script that adds a customer to the database. The SQLite3 auto increment field, password encryption and duplicate key fields are demonstrated. This is also preparation for the final production code to add new customers.
A PDF version of the video is included in the additional resources for this lecture.
This is the overview for this section. We are reviewing the user interface data validation, sending and receiving data to our web server. We hook up adding new subscribers to our database. And we test all the functionality.
A PDF version of the video is included in the additional resources for this lecture..
A guide to how the course files are organized and used for this section.
"Sessions" mentioned in the guide correspond to a Udemy "Lecture" in this section.
In this session we explore the current subscription form validation that we have in place and how to automatically fill it out to make testing faster
We are now ready to start using the subscriber form data.
In this session we add coding to package the data so that it can be sent over the network to the server.
A PDF version of the video is included in the additional resources for this lecture.
We begin work on the server side for the new customer subscription form.
In this session we write the script that receives and responds to the form's POST requests.
A PDF version of the video is included in the additional resources for this lecture.
Now we are ready to add the form data into the database.
In this session we will complete the coding for that and test it out.
A PDF version of the video is included in the additional resources for this lecture.
For this session we will add the Stripe embedded checkout form to the subscription page.
A PDF version of the video is included in the additional resources for this lecture.
In this session we use the API to add subscribers to plans in your Stripe account.
A PDF version of the video is included in the additional resources for this lecture.
We start sessions to do end to end testing of our subscription form.
This session will help you get your testing environment set up.
A PDF version of the video is included in the additional resources for this lecture.
This continues the end to end testing of our subscription form.
This session will test adding a new customer to the free Basic subscription plan.
A PDF version of the video is included in the additional resources for this lecture
This continues the end to end testing of our subscription form.
This session will test adding a new customer to the paid Plus subscription plan.
A PDF version of the video is included in the additional resources for this lecture.
The login and logout user interface is completed to include a working login form, the logout navigation bar button and automatic login for new subscribers.
A guide to how the course files are organized and used for this section.
"Sessions" mentioned in the guide correspond to a Udemy "Lecture" in this section.
We add a PHP function to retrieve a customer record from the database using the user id and password. This coding is for the database tier in our architecture.
We will write a script to test our function to retrieve a customer record from the database using the user id and password. Then we will run some tests.
In this session we create the base code for setting the PHP login and logout sessions.
In this session we create the network layer scripts for requesting a logged in and logged out out session state.
In this session we are testing the network layer scripts for requesting a logged in and logged out out state.
In this session we are modifying the user interface to handle the login and logout session status. This includes completing the login form, the login button and the new subscriber form.
We have avoided looking at the navigation bar coding. Now we have the session data management in place, we can take a look. Keep in mind that how you do your site navigation can very. But this should give you an appreciation for using the session data management.
In this session the login form, the login button and the new subscriber form are tested to verify they update the session data properly.
What is this course about? This course is a primer for using Stripe with PHP to build a subscription service. You build a new account page that allows customers to pay with their credit cards for recurring automatic billing.
Why take this course? Ecommerce is an essential skill for all web developers using PHP. Often the hurdle of where to start is high for newcomers to eCommerce. Stripe is a well known platform and is being add into PHP sites everyday. Stripe is great place to start and this course can be a great ice breaker for you to learn more on your own or take additional courses I am offering on Stripe. This course is also a good experience for combining HTML, CSS, Javascript, JQuery and PHP for a solution. If you have completed my Learn Stripe PHP: Make Checkout Webpages course on Udemy, this is a great course to take next.
Visual Step by Step eBooks Included! Often following along by video is not convenient. So every video in this course includes a page by a PDF eBook you can also use. The eBooks are full sized visuals you see in the videos.
Who might find this course useful? This course is for those who are new to Stripe and prefer not to use documentation to learn. Keep in mind that Stripe provides many examples and documentation a competent PHP programmer could follow. So if you are that type of person, consider looking at that option before enrolling in this course. However if you want a laid back deep dive into the basics, this could be helpful to intermediate and higher level skilled developers.
Are you ready to take this course? Students for this course are new to intermediate in their PHP, Javascript, JQuery, CSS and HTML skills. You are familiar with these technologies and have had some experience. This course will stay on the light side of their use but at the same time provide production quality solutions you can use in simple applications.
We use the Stripe Checkout Form with AJAX with Javascript. We also use Stripe PHP Exceptions. You will be able to follow along and understand if you have no experience with the Stripe Checkout Form and Stripe PHP Exceptions. However we do not go into depth about the code behind them. If you want a more in-depth learning experience on the Stripe Checkout Form and Stripe PHP Exception we recommend our companion course offered here on Udemy: Learn Stripe PHP: Make Checkout Webpages