Laravel Payment Processing Using the Best Payment Platforms
4.6 (35 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
307 students enrolled

Laravel Payment Processing Using the Best Payment Platforms

Integrate payment gateways such as PayPal and Stripe in Laravel to receive online payments using the APIs from Laravel
Bestseller
4.6 (35 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
307 students enrolled
Last updated 1/2020
English
English [Auto-generated]
Current price: $41.99 Original price: $59.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 4.5 hours on-demand video
  • 3 articles
  • 2 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Integrate the best payment platforms in your projects
  • Start receiving payments, integrating the platforms you need
  • Integrate PayPal into your projects, to receive payments online
  • Adapt your projects to use different payment platforms
  • Integrate Stripe to receive payments in your projects
  • Provide multiple payment alternatives to your users (platforms and currencies)
  • Handle payments in different currencies across multiple payment platforms
Course content
Expand all 49 lectures 04:27:25
+ Meet the instructor and how to take advantage of the course
4 lectures 13:51

In this class, I show you a preview of the payment platform that you will build with Laravel throughout the course, along with what you will learn from that process.

Preview 06:03

Learn a little about the instructor and the reason behind choosing Laravel to implement a payment platform using Stripe and PayPal

Preview 05:25

Some details that may interest you about the development environment that will be used during the course.

The development environment to use
01:55

It is always helpful to have the source code of the course at hand, to answer questions and compare with yours in case of problems.

The source code of the course
00:28
+ Obtaining and preparing a Laravel project to process payments
3 lectures 24:32

In this class I show you how to get the latest version of Laravel, using Composer, along with some more details.

Preview 05:48

It is time to create the tables and models that will allow us to easily represent and use related information about the types of currency and payment platforms that the Laravel project will support

Creating the essential models and tables for the payment platform
09:02

It is time to insert the main payment platforms to support (PayPal and Stripe) together with the main currencies (EUR, GBP, USD)

Preparing the payment platform and filling the database from Laravel
09:42

Time to check that everything is clear, before continuing to the next section.

Be sure everything is clear about the essential models and tables
3 questions
+ Preparing some visual components in Laravel to process payments
4 lectures 18:51

Laravel UI is a Laravel package that will allow you to quickly generate visual components that you will use in the course.

Adding laravel/ui to build some visual components
02:48

In this class, you will take advantage of Laravel UI to get those visual components to use.

Generating visual components with laravel/ui
03:13

The components generated by Laravel UI work quite well, except that the styles are not there. So, it's time to put those styles and see how magically everything takes shape.

Improving and using the components generated with Laravel UI
05:43

Now that all our views are using the same layout, we can add components that show success or error messages throughout the application.

Adding components to display the messages from the payment platform
07:07
+ Building a payment generator to process from Laravel
5 lectures 35:07

The first field to implement in this component (a form) will be the one that contains the total value of the transaction. Of course, it can be randomly generated for ease.

Creating a form with random amounts using Bootstrap in Laravel
06:30

Each transaction to be created can have a different currency type, so we will show the list of currencies supported by the platform through the Currency model in Laravel.

Showing the types of currency available to process a payment
04:39

Finally, you should now allow choosing between the supported platforms, according to your PaymentPlatform model.

Showing the available payment platforms with Laravel and Bootstrap
07:48

Each payment platform may require additional fields (such as Stripe), so in this class, you will give the form that ability to show or not certain fields according to the user's choice.

Allowing to customize the form for each payment platform
08:21

It is time to connect the form with Laravel. So, when you click on "Pay", Laravel receives the necessary information, to start processing the payment later.

Adding the actions to process a payment on the platform with Laravel
07:49

Make sure that the reason why we have created this form is clear.

Make sure you understand the reasons behind the created form
1 question
+ Allowing to consume the API of any payment platform from Laravel
2 lectures 12:19

Guzzle HTTP is a very useful library to send HTTP requests from PHP (and therefore Laravel). In this class, you will add it to the Laravel project using composer.

Adding GuzzleHTTP to Laravel to consume HTTP APIs
03:10

Now that you have Guzzle, it is time to create a generic component to use Guzzle and allow you to send any type of request, in addition to authorizing and decoding them accordingly for each service to be used.

Creating a component to use any API of the payment platforms
09:09
+ Preparing Laravel to use PayPal as a payment platform
4 lectures 22:47

Before you can use the PayPal API from Laravel, you need test accounts that allow you to act as a buyer or business that will receive money from a payment made with PayPal. Of course, they will be test accounts for the PayPal sandbox.

Creating PayPal test accounts to send and receive payments
07:49

To consume the API, we need access credentials and you will get it with a PayPal application, which will be associated with a business account.

Creating a PayPal application to consume your API from Laravel
02:58

Once you have PayPal credentials, it's time to set up the online payment processing system with Laravel,

Configuring the payment platform in Laravel to use the PayPal API
05:48

It is time to create a component (a class) that represents the PayPal service in the payment processing platform with Laravel.

Adding a service in Laravel responsible for consuming the PayPal API
06:12
+ Implementing the necessary actions in Laravel to use the PayPal API
5 lectures 37:39

The first step in using the PayPal API from Laravel is to authenticate correctly with the configured credentials and decode the responses obtained in JSON. That is what you will see in this class. In addition to seeing how everything works together.

Decoding and authenticating requests to the PayPal API
07:17

You have already seen that you can send valid requests to the PayPal API. Now is the time to give PayPal the ability to create orders (directly using the API) to the service created.

Creating an order in the PayPal API for a given amount and currency
08:41

Now that you can create orders using the PayPal API, it's time to see how to capture them, also through an API request. All after payment approval.

Capturing a payment of an order given in Laravel with the PayPal API
06:27

At this point, the PayPal service you created can create and capture orders in PayPal. It is time to communicate this with the created form so that the orders created correspond to what a user indicates.

Controlling from Laravel the creation of an order using PayPal
06:55

Now that the order has been created and the user has been directed to the corresponding approval flow, it is time to capture that order and complete the payment processing.

Controlling from Laravel the capture of a payment with PayPal
08:19
+ Improving and preparing Laravel to use any other payment platform
4 lectures 25:46

We still have to implement a possible alternative flow, which corresponds to the case in which the user cancels the payment process at some point.

Implementing the payment cancellation flow for any platform
03:18

There exist some currencies which do not allow decimal positions. During this class, I will show you one and how to deal with it.

Considering zero-decimal currencies
07:42

During this class, you will create the component that will be in charge of resolving the service related to a payment platform.

Creating a component that solves a payment platform dynamically
07:19

Once you have the component that knows the possible payment platforms to use. It is time to give you the ability to resolve the associated service according to what the user requires.

Resolving the payment platform service according to the user's choice
07:27
+ Preparing the project to use Stripe as an additional payment platform
4 lectures 14:54

First of all, it is important to have an account in Stripe. In that way, you can obtain the credentials to access their API and monitor the operations of this account.

Creating an account in Stripe for use with the payment platform
02:39

Now that you have your account in Stripe, it is time to get the credentials that will give you access to your API.

Obtaining access credentials to use the Stripe API from Laravel
03:11

Once you have the credentials to access the Stripe API, it is time to configure and use it from Laravel, along with the base URL to use.

Configuring the payment platform with Laravel to use Stripe
04:10

Finally! Now you are going to create the service that will know how to send requests to the Stripe API, using the configured credentials and base URL.

Creating the service for Laravel that will use the Stripe API
04:54
+ Adding the essential elements in Laravel to start charging with Stripe
3 lectures 20:51

The first step in consuming the Stripe API is to know how to authorize requests and decode responses.

Decoding and authenticating Stripe API requests
03:23

Before you can create an intent with Stripe, it is necessary to capture the data from the user's payment method, all using the Stripe JavaScript library.

Requesting a payment method to make payments with Stripe from Laravel
08:04

Now that you have the payment method data, to avoid touching the backend with Laravel and complying with the SCA policies, you must resolve a token given by Stripe, which represents that payment method.

Obtaining a token that represents the payment method in Stripe
09:24
Requirements
  • Have PHP installed and functional in your system (at least PHP 7.3 is recommended)
  • Have composer installed and functional in your development environment
  • Recommended, PHP basic skills
  • Everything else I will teach you how to implement it
Description

Learn to integrate multiple payment platforms at once in the same Laravel project, using as an example the most popular payment gateways (PayPal and Stripe).

Do you want to start receiving payments on your existing projects?

Me too. And in this course, I teach you how to achieve it without getting crazy in the process, using Laravel.


Process payments with Laravel and the best payment platforms.
Let's be honest, we currently don't have time to go line by line reading and understanding the documentation to then test and fail with each platform. For that reason, in this course, I guide you along the direct path, to integrate the best online payment and e-commerce platforms of the current times. EVERYTHING in the same Laravel project.

Billions of dollars have been raised online only in recent months. With this course, you can open up to your customers and users and start receiving online payments using the best PHP framework, Laravel, along with the best online payment gateways. As a use-case, integrate PayPal and Stripe (considering SCA) in Laravel (and more coming).


Why choose me?
Because I'm always there to enhance your learning :)

More than 18,000 students appreciate the effectiveness of my answers to all their questions and the more than 4,000 positive ratings prove it.

Because I not only teach you Laravel but how to solve real-world problems with Laravel.


What's good about Laravel?
Laravel is the most popular framework for PHP. With Laravel, you can develop high complexity PHP applications in a very short time, which includes payment processing using the most popular payment gateways. During the course, you will see the enormous facilities that Laravel offers when implementing complex tasks. Of course, we are using the latest version of Laravel.


Why PayPal and Stripe?
It's not just about PayPal and Stripe. In the course, everything will be perfectly adaptable to any additional platform that is added in the future or those you need to use.

Initially, PayPal and Stripe are used with Laravel, because both, PayPal and Stripe, are the most popular online payment gateways globally and meet the needs of a huge portion of online businesses.


What about SCA?
Do not worry! I cover you on this too. SCA (Strong Customer Authentication) is a very important security requirement for some regions and it is a good idea to take that into consideration for your projects. In this course, I show you the details about SCA, Stripe, and Laravel. That way, your Laravel project will accomplish the SCA directives while using Stripe.


So join now to integrate the best payment platforms with Laravel and you will get this:

  • Integrate and receive payments with PayPal, directly using the PayPal API in Laravel

  • Integrate and process payments with Stripe, directly using the Stripe API from Laravel

  • Integrate Stripe in Laravel, considering SCA

  • Accomplish SCA (Strong Customer Authentication) when using Stripe in your Laravel project

  • Build a payment platform that integrates MULTIPLE payment gateways at once in a single Laravel project.

  • It includes the essential steps to process payments from Laravel, not only with PayPal and Stripe but with any other platform.


Why take this course?
During two months, my team and I have been preparing a course to explore the essentials when processing payments with Laravel, using the most important payment platforms.

The goal?
Simplify the process to integrate multiple platforms with essential steps. So, regardless of the platforms to use, the process would be quite similar and simple to carry out.

Exploring the different parts where developers "suffer" most by integrating payment platforms into any project. Especially, when several are required at once.

You will want to complete this course since the first class.


Is this course for you?
This course is probably for anyone (expert or not). This course is for you if you meet any of these conditions:

  • You are a beginner or want to start using payment gateways to process payments on your online projects.

  • You are a Laravel or PHP developer and you want to integrate the best payment platforms in your projects.

  • You are an entrepreneur and you want to start creating your online services and receive money with them.

  • You are an expert in web development and you need to integrate multiple payment platforms in the same project, without spending time understanding official articles and documents.


The benefits you will get

  • The freedom to implement solutions once and let your products and services sell online without having to be there every time.

  • The feeling of professional growth and building real and incredible projects.

  • Build any Laravel project that can collect payments online automatically, using the most important payment platforms.


So that said all this...

Do not wait for more. The world moves quickly and billions of dollars are raised completely online.

Offering multiple payment options online will help your users and you simplify your lives.

So press the button to enter the course today.

And join me throughout this process to integrate the best payment platforms available.

Who this course is for:
  • Developers with websites that need to integrate different payment platforms
  • Those who need to use the best online payment platforms
  • Those who need to integrate PayPal as a payment platform in their projects
  • Those looking to integrate Stripe as a payment platform
  • Those who want to use Laravel to process payments
  • Curious web developers regarding the usage of multiple payment platforms with Laravel