We may earn an affiliate commission when you visit our partners.
Course image
Lon Hosford

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.

Read more

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.

Enroll now

What's inside

Learning objectives

  • Create a single order stripe checkout web page
  • Use the stripe api to charge credit cards from your web server.
  • Gain experience using the stripe dashboard for transaction tracking.
  • Understand how the stripe remember me feature is used.
  • Setup a web development environment for using stripe
  • Install and use the stripe php api library
  • Know how to maintain your stripe account api keys
  • Understand how to configure a stripe account for testing and production

Syllabus

Introduces the course content and how to use the course materials.

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.

Read more

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.

  1. Download and unzip in a folder in your web server.

  2. Refer to the Instruction Guide for an overview of the structure and purpose of the course folders and files.

  3. Refer to the Practice Files Guide in each course section for direction on how to use the files in that section.

    This includes a version of the Stripe PHP API library for use in the 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.

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.

Test Your Knowledge
You will integrate the Stripe Checkout for single item order page, practice processing orders as your customers will experience including Remember Me feature and understand Stripe tokens.

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.

You use the Stripe PHP API to charge a customer card, handle Stripe errors, provide customer banking information and follow transactions through to payments in your Stripe Aaccount dashboard.

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.

You learn to use Stripe JS directly with Javascript, JQuery and AJAX. You provide UI workflow messaging. The section decouples the user interface from the backend processing.

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.

Additional examples from student discussions and suggestions.

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

This is the course wrap up section.

A look back on what we learned in the course and suggestions on going forward.

New: Create a Subscription Service with Stripe and PHP

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Taught by Lon Hosford, who has written extensively on Stripe
Provides a hands-on approach to using Stripe with PHP
Covers the basics of using Stripe, including creating checkout forms, processing payments, and managing customer information
Suitable for intermediate and higher level PHP developers
Course materials include videos, downloadable practice files, and step-by-step instructions
Requires basic knowledge of PHP, JavaScript, jQuery, CSS, and HTML

Save this course

Save Learn Stripe PHP: Make Checkout Webpages to your list so you can find it easily later:
Save

Reviews summary

Checkout webpage builder

Learners say that this course (Checkout Webpage Builder) is built very well. They say it (Checkout Webpage Builder) gets to the point and is easy to follow. Others have said that the explanations are laid out well.
Course is well constructed and well paced.
Straightforward and simple.
"nice explanations, gets to the point, easy to follow along!"

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Learn Stripe PHP: Make Checkout Webpages with these activities:
Gather and organize resources on Stripe
Consolidate your learning materials by compiling a comprehensive collection of resources on Stripe.
Browse courses on Web Development
Show steps
  • Collect documentation, tutorials, and articles on Stripe
  • Organize your resources by topic or use case
Explore Stripe's official documentation and tutorials
Enhance your knowledge of Stripe's features and capabilities by studying their comprehensive documentation and following guided tutorials.
Show steps
  • Review Stripe's documentation on checkout and API
  • Follow step-by-step tutorials to implement Stripe in PHP
Implement a Stripe Checkout integrated order page
Practice using the Stripe API to process payments and create a seamless checkout experience for customers.
Show steps
  • Set up a Stripe test account and configure API keys
  • Create a PHP script to handle checkout and payment
  • Integrate the Stripe Checkout form into your web page
  • Test the checkout and payment process
One other activity
Expand to see all activities and additional details
Show all four activities
Challenge yourself with Stripe API scenarios
Strengthen your understanding of Stripe API operations and error handling by working through practice exercises.
Browse courses on Stripe API
Show steps
  • Simulate various payment scenarios (e.g., successful, declined, fraud)
  • Handle different types of API exceptions and errors

Career center

Learners who complete Learn Stripe PHP: Make Checkout Webpages will develop knowledge and skills that may be useful to these careers:
Back-End Developer
As a Back End Developer, you will design, develop, test, and maintain the non-client-facing software systems. You will ensure software quality, functionality, reliability, and scalability. This course will help build a foundation for working with Stripe, one of the most prominent payment providers. You will learn how to integrate payments, process refunds, handle errors, and manage recurring payments within your web applications using PHP.
Full-Stack Developer
As a Full Stack Developer, you will develop software solutions across the entire application stack including front and back-end systems. This course will help build a foundation for back-end systems development using PHP and the Stripe API. You will gain essential experience working with databases, security, and server-side programming, and become more effective at building end-to-end web applications.
Web Developer
As a Web Developer, you will design, develop, and maintain websites and web applications. This course will help build a foundation for back-end web development using PHP and Stripe. You will learn how to create and manage web pages, process user input, and interact with databases. Additionally, you will gain experience working with Stripe, a popular payment gateway, which will enhance your ability to develop e-commerce websites and applications.
E-commerce Developer
As an E-commerce Developer, you will design, develop, and maintain e-commerce websites and applications. This course will help build a foundation for back-end e-commerce development using PHP and Stripe, the leading payment gateway for online businesses. You will learn how to integrate Stripe into your e-commerce applications, process payments, manage orders, and provide a seamless checkout experience for customers.
Payment Processing Specialist
As a Payment Processing Specialist, you will manage and optimize payment processes within an organization. This course will help build a foundation for working with Stripe, a prominent payment gateway. You will learn how to integrate Stripe into various systems, manage payment transactions, handle disputes, and comply with payment regulations. This knowledge will enable you to effectively manage and improve payment processes, reducing costs and improving customer satisfaction.
FinTech Developer
As a Fintech Developer, you will design, develop, and maintain software applications for the financial technology industry. This course will help build a foundation for back-end development using PHP and Stripe, a leading payment gateway. You will learn how to integrate Stripe into financial applications, process payments, manage financial data, and comply with industry regulations. This knowledge will enable you to develop innovative fintech solutions that meet the evolving needs of the financial sector.
Software Engineer
As a Software Engineer, you will design, develop, test, and maintain software systems. This course may be useful for building a foundation in back-end development using PHP and Stripe. You will gain essential experience working with databases, security, and server-side programming, which are valuable skills for Software Engineers.
Data Analyst
As a Data Analyst, you will collect, clean, analyze, and interpret data to identify trends and patterns. This course may be useful for gaining experience working with databases and data analysis techniques. You will learn how to manage and query databases, which are essential skills for Data Analysts.
Business Analyst
As a Business Analyst, you will analyze business processes and systems to identify areas for improvement. This course may be useful for gaining experience working with data analysis techniques and understanding how software systems can be used to solve business problems. You will learn how to gather and analyze data, which are valuable skills for Business Analysts.
Project Manager
As a Project Manager, you will plan, execute, and close projects. This course may be useful for gaining experience working with project management tools and techniques. You will learn how to manage projects, which is a valuable skill for Project Managers.
Product Manager
As a Product Manager, you will define, develop, and launch products. This course may be useful for gaining experience working with product development processes and tools. You will learn how to manage and develop products, which are valuable skills for Product Managers.
IT Consultant
As an IT Consultant, you will advise clients on how to use technology to improve their business operations. This course may be useful for gaining experience working with different technologies and understanding how they can be used to solve business problems. You will learn about various technologies, which is a valuable skill for IT Consultants.
Technical Writer
As a Technical Writer, you will create user manuals, technical documentation, and other written materials to explain complex technical concepts. This course may be useful for gaining experience writing clear and concise technical documentation. You will learn how to write and edit technical content, which is a valuable skill for Technical Writers.
UX Designer
As a UX Designer, you will research, design, and evaluate user interfaces. This course may be useful for gaining experience working with user interface design tools and techniques. You will learn how to design and evaluate user interfaces, which is a valuable skill for UX Designers.
Marketing Manager
As a Marketing Manager, you will plan, execute, and evaluate marketing campaigns. This course may be useful for gaining experience working with marketing tools and techniques. You will learn how to develop and execute marketing campaigns, which is a valuable skill for Marketing Managers.

Reading list

We've selected seven books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Learn Stripe PHP: Make Checkout Webpages.
Provides a comprehensive overview of JavaScript for PHP developers. It can be a useful resource for PHP developers who want to add JavaScript to their web applications.
Provides a comprehensive overview of CSS for PHP developers. It can be a useful resource for PHP developers who want to improve the appearance of their web applications.
Provides a collection of PHP recipes that can be used to solve common programming problems. It can be a useful reference for PHP developers of all levels.
Provides a comprehensive overview of PHP. It can be a useful resource for both beginners and experienced PHP developers.
Is the official documentation for Stripe Connect. It useful reference for learners of the course who want to learn more about Stripe Connect.

Share

Help others find this course page by sharing it with your friends and followers:
Our mission

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.

Affiliate disclosure

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.

© 2016 - 2024 OpenCourser