PayPal Payment Integration with PHP, Laravel and Symfony

Learn PayPal Checkout & Subscription services by building e-commerce shopping cart & video subscription website

PayPal is the most popular online payment gateway. In this course we will learn how to accept payments for products and services from customers by implementing real web applications in PHP language. This course uses PayPal SDKs V1.

What you’ll learn

  • You will learn the latest and the best rest-api based technique for online payments from PayPal – Checkout service.
  • You will be able to implement PayPal Webhooks to manage automatic transaction notifications.
  • You will be able to implement PayPal payments on your own websites.
  • You will build from scratch object oriented MVC-based simple shopping cart application in pure PHP, Laravel and Symfony.
  • You will build from scratch object oriented MVC-based simple video subscription application in pure PHP, Laravel and Symfony.
  • You will deploy the applications to Heroku live server to test real PayPal transaction notifications.

Course Content

  • Introduction –> 9 lectures • 27min.
  • E-commerce shopping cart website using PayPal Checkout & pure PHP –> 16 lectures • 1hr 25min.
  • Video subscription service using PayPal Subscription & pure PHP –> 16 lectures • 1hr 16min.
  • E-commerce shopping cart website using PayPal Checkout & Laravel PHP framework –> 15 lectures • 1hr 11min.
  • Video subscription service using PayPal Subscription & Laravel PHP framework –> 14 lectures • 1hr 16min.
  • E-commerce shopping cart website using PayPal Checkout & Symfony PHP framework –> 16 lectures • 1hr 18min.
  • Video subscription service using PayPal Subscription & Symfony PHP framework –> 15 lectures • 1hr 16min.
  • Symfony/Laravel upgrade guide –> 2 lectures • 2min.

PayPal Payment Integration with PHP, Laravel and Symfony

Requirements

PayPal is the most popular online payment gateway. In this course we will learn how to accept payments for products and services from customers by implementing real web applications in PHP language. This course uses PayPal SDKs V1.

 

In this course I will focus on PayPal Checkout service and its implementation in PHP using PayPal rest api which is the newest and the best way to handle online payments provided by PayPal. Thanks to it, we can accept online payments for single or multiple products and services, handle subscriptions, automatically handle transaction notifications from PayPal, etc.

 

We will learn PayPal integration (PayPal Checkout) in PHP by building two real applications: a simple shopping cart and a small video subscription application. I will make each of these applications from scratch in three versions:

  • in pure PHP, using model-view-controller approach (files included for every coding lecture)
  • in Laravel and Symfony php frameworks with real, secure login and registration system (files included for every coding lecture)

 

PayPal Checkout is the newest rest api based solutions to handle payments. It is very flexible. You can build with it whatever you want including:

  • e-commerce website with multiple products to sell
  • website with single product or service to sell
  • subscription billing websites
  • backend for your mobile application

 

You will also learn and implement PayPal Webhooks – rest api based solution to handle automatic transaction notifications. For example, if a user cancels his subscription from his PayPal account, the application will be notified about that and an administrator can reject access to videos etc. To test these notifications we will deploy our subscription application to Heroku.

 

If you want to learn PayPal integration in PHP by building practical examples this course is for you.

 

 

QA

Question:

You used Laravel 5 in this course for creating an app to practice PayPal integration. Now we have Laravel 8 already. Does it mean that this course is outdated and I will not benefit from it?

Answer:

Absolutely not! In tools like PHP frameworks the fundamentals and base syntax almost never change regardless of the version. But of course any maintained software evolves all the time. That’s why I always suggest you to use the version of software that instructor uses in the course. It prevents from errors and confusions. As a someone who wants to learn web development you should be aware, that real web development involves also adapting the code to newer versions if necessary – but this is not always necessary, not every company do that. Software changes so often that the instructors would not be able to create the courses so that they match the latest version. This is not even advisable, because as a student you would loose an important aspect of real web development – the awareness that everything is changing and you need to be able to deal with it.

Get Tutorial