What is this course about? This course is a primer for using Stripe with PHP. It creates examples of using the Stripe provided Javascript based checkout forms for accepting bank cards. Then it covers the PHP processing of the charge of those cards. You use the Stripe dashboard to follow the charges to a payment to your account.
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.
What is this course about? This course is a primer for using Stripe with PHP. It creates examples of using the Stripe provided Javascript based checkout forms for accepting bank cards. Then it covers the PHP processing of the charge of those cards. You use the Stripe dashboard to follow the charges to a payment to your account.
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.
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
What do you need to take the course? You need access to a web site with PHP 5.3.3 or later. You can use a local host web site for the course. You need Stripe testing account and steps for doing this are covered in the course.
This is an introduction to the course. It covers the goals of the course, the minimum skills for a great experience in the course and a high level view of the curriculum sections.
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 and the Stripe PHP library.
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.
An overview to the topics covered in this section. We are creating and using the Stripe Embedded Checkout form. We use its Remember Me feature. The Stripe Checkout form parameters and its impact on the DOM are investigated. We also look at the network data requests made by the checkout form.
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 look at adding a simple Stripe Embedded Checkout form to a web page. We use it to have the same experience that the user does. We look at the data the checkout form generates when a payment is authorized.
A PDF version of the video is included in the additional resources for this lecture.
The Stripe checkout form can save your customer's payment information using the Remember me feature. In this session we use the Remember me features to get the same experience the user has. We also learn the options for disabling the feature if necessary.
A PDF version of the video is included in the additional resources for this lecture.
This session looks at the behind the scenes network data communications between the Stripe Checkout form and the Stripe API. The Stripe Checkout form configuration options are explained. The impact on the Document Object Model is investigated as well.
A PDF version of the video is included in the additional resources for this lecture.
These are questions related to this section.
In this section we focus on charging the customer banking card and getting paid. We start using the Stripe PHP library to access the Stripe API. We investigate the success and failures of using the Stripe API from PHP. We also look at the messaging from Stripe to customers and their banks.
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 add testing code to the checkout order form page. This will help us follow the data when the Stripe Checkout form completes. We also move the form data from the UI HTML and place into PHP variables.
A PDF version of the video is included in the additional resources for this lecture.
This session we add the code to card the card payment that is authorized by the Stripe Checkout form. We test our code and review the response information. This code will add log entries and a payment in your Stripe test dashboard.
A PDF version of the video is included in the additional resources for this lecture.
This session looks at the data returned by the Stripe Charge create method. We look at it in the documentation, display it in in our code and take a look at it in the Stripe Dashboard.
A PDF version of the video is included in the additional resources for this lecture.
This session we look at the Stripe API Exceptions. We look at how to access the error data. We use the documentation to see how to interpret the error information. And we run a simulation for a Stripe API Exception.
A PDF version of the video is included in the additional resources for this lecture.
This session follows a Stripe checkout and charge from a web site page through to the Stripe dashboard. It looks at the charge, token and error log entries. It also looks at a payment record and various options for modifying it.
A PDF version of the video is included in the additional resources for this lecture.
This session covers the information that flows from Stripe to your customer and your customer's bank. You work on the public information in your Stripe account in the dashboard. This includes the default bank statement descriptor. You also code dynamic bank statement descriptors.
A PDF version of the video is included in the additional resources for this lecture.
In this section we are moving to a framework that lets us customize the Stripe Checkout experience. To do this we use the Stripe JS library directly with JQuery and AJAX. We rewrite our card charging script to use the AJAX data communications. A custom checkout button is demonstrated as a simple example of designing the order form independent of Stripe.
A PDF version of the video is included in the additional resources for this lecture.
This topic reviews the user interface code already in place. Then it installs a simple but practical messaging framework into the user interface. The messaging is for loading, processing, successful charges, unsuccessful charges and other error issues. A custom checkout button is introduced to replace the automatic Stripe checkout button.
A PDF version of the video is included in the additional resources for this lecture.
Stripe JS is installed and used to load the Stripe Embedded Checkout form and receive data from a successful checkout. JQuery is used to handle the custom checkout button.
A PDF version of the video is included in the additional resources for this lecture.
AJAX is configured to communicate with a PHP script that charges the customer. Server backend PHP coding is refactored to work with AJAX, receiving data in the POST format and returning results in the JSON data format. The user interface and the backend PHP Stripe processing are decoupled.
A PDF version of the video is included in the additional resources for this lecture.
The user interface is complete to show messaging for Javascript library loading, AJAX processing, successful charges, unsuccessful charges and other unexpected AJAX errors. Error handling is revisited and error information is redirected to server error logs.
A PDF version of the video is included in the additional resources for this lecture.
This is a simplified example that modifies this section's completed files to allow multiple selections from HTML select element and create a single item checkout.
This is example will allow the user to enter values that are used in the Stripe payment processing.
This a variation that shows a form of static elements that allows the user to set the quantities and it provides a total for checkout.
Lesson that shows how to use Stripe Checkout form to collect billing and shipping addresses.
Lesson contains an "as is" Wordpress plugin using Wordpress short code to create a Stripe Checkout button that works like the one in this course
A look back on what we learned in the course and suggestions on going forward.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.