Udemy

Platform

English

Language

Web Development

Category

PayPal Payment Integration with PHP, Laravel and Symfony

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

3.75 (49 reviews)

Students

8 hours

Content

Nov 2019

Last Update
Regular Price


What you will 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


Description

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.


Screenshots

PayPal Payment Integration with PHP, Laravel and Symfony
PayPal Payment Integration with PHP, Laravel and Symfony
PayPal Payment Integration with PHP, Laravel and Symfony
PayPal Payment Integration with PHP, Laravel and Symfony

Content

Introduction

Welcome to the course

Installation info

Course outline & recommended learning paths

What we are going to build in this course

How PayPal Checkout works

PayPal Standard vs PayPal Checkout

How PayPal Subscription works

PayPal Rest SDKs and APIs

Discussing html templates for the applications

E-commerce shopping cart website using PayPal Checkout & pure PHP

Move html template to php application

Create Router class to manage requests

Create a controller for our application

Create database & model for shop products

Display shop products on main page

Make use of session

Login and logout functionality in the application

Create shopping cart class

Show total price and total amount of products in shopping cart

Display products from shopping cart on cart page

Display products from shopping cart on checkout page

Update product quantities

Delete products from cart

Create PayPal business account & REST API application

Create payment using PayPal REST API

Execute and confirm PayPal payment

Video subscription service using PayPal Subscription & pure PHP

Move html template to php application

Create Router class to manage requests

Create a controller for our application

Login and logout functionality in the application

Show videos to users that are logged in and have subscription active

Create simple file database to store subscription status

Create PayPal business account & REST API application

Create subscription plan

Activate created billing plan

Show all subscriptions plans

Delete subscription plan

Create subscription agreement

Execute subscription agreement

Heroku deployment - create an account and first app

Deploy subscription application to Heroku

Create PayPal webhook to listen to the events

E-commerce shopping cart website using PayPal Checkout & Laravel PHP framework

Move html template to Laravel application by using Laravel Blade

Create controller for the application

Create sqlite database connection and migration file

Create database seeder

Display shop products dynamically on the website

Create shopping cart service & addToCart method

Display products on cart page

Display products on checkout page

Display total price and total amount of products

Delete a product from the shopping cart

Update product quantities

Login & registration system

Create payment after collecting products in shopping cart

Create PayPal service and finish creating payment

Execute PayPal payment

Video subscription service using PayPal Subscription & Laravel PHP framework

Move html template to Laravel application by using Laravel Blade

Create controller for the application

Create sqlite database connection and migration file

Login & registration system

Create subscription plan

Activate created plan

Display all plans

Delete a subscription plan

Authorize actions using Laravel middleware

Create a subscription agreement

Execute the subscription agreement

Prepare the subscription application for uploading to Heroku

Create webhook handler to reject access to videos in special cases

Deploy to Heroku and test cancelling subscription

E-commerce shopping cart website using PayPal Checkout & Symfony PHP framework

Move html template to Symfony application by using Twig template system

Create database connection and Product entity to operate on cart products

Load sample shop products data using fixtures in Symfony

Display shop products on the website

Link application pages

Create Shopping Cart service and method for adding products to shopping cart

Display cart products from the session on cart page

Update total amount of products and total price

Display cart products from the session on checkout page

Remove product from the cart

Update product quantities

Login system in Symfony

Registration system in Symfony

Create logout functionality

Create payment for cart products

Execute PayPal payment

Video subscription service using PayPal Subscription & Symfony PHP framework

Move html template to Symfony application by using Symfony Twig

Link between pages and recognize that a user can see videos

Create login system in Symfony

Update User entity

Make register functionality in Symfony application

Install PayPal php composer package and create PayPal subscription plan

Activate subscription plan

List all subscription plans

Delete subscription plan

Create subscription agreement

Execute the agreement

Show agreement status

Prepare subscription application for deploying to Heroku

Deploy subscription application to Heroku

Handle PayPal webhook to deny access to videos when a user cancels subscription

Symfony/Laravel upgrade guide

Upgrade Symfony from >=4.0 version

Upgrade Laravel from 5.8 to 6.0


Reviews

P
Patrick23 December 2020

This is a great course. It provides all the information need to set up a store and collect payments easily. I will definitely recommend this course to friends.

D
David24 July 2020

Starts < 1 The Paypal Code section is useless!!! to use in LIVE environment. (the paypal website has a note that says: DEPRECATED - PayPal SDKs V1). Please Update your tutorial or delete it.

K
Keeb17 June 2020

Great course - definitely the best out there to get a subscription service up and running quickly. Thanks!

G
Graham10 January 2020

So far so good, except the page to install Laravel and synfony. If I had no previous knowledge of composer the page telling me to install laravel would make no sense at all

R
Ryan6 September 2019

Keep in mind I only took the Laravel Paypal Subscription series within this course. The code is really professional, clean and he explained things very well. I ran into 1 or 2 snags but he answered my questions and its all good now. Thank you Robert.

S
Stoyan30 July 2019

Good at all, but sometimes I feel lost in the complexity of the code. I know that the course is exactly to show how to create simple shopping cart and use Paypal payment, but I think it is for gallopers. A lesson of 2 minutes can really come to half an hour because the technique used in the lecture is at the high lever programmers, but not as stated in the course - ALL LEVELS.


2371022

Udemy ID

5/16/2019

Course created date

11/22/2019

Course Indexed date
Bot
Course Submitted by

Twitter
Telegram