Laravel Payment and Subscription Processing: PayPal & Stripe
- Description
- Curriculum
- FAQ
- Reviews
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 and subscriptions 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 test and fail with each platform. For that reason, I guide you along with the direct pat in this course to integrate the current times’ best online payment and e-commerce platforms. EVERYTHING in the same Laravel project.
Receive recurring payments (subscriptions)
Don’t stop there. You will also learn how to process subscriptions for your users and receive recurring payments on any of your Laravel projects.
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 quickly, 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 a huge portion of online businesses’ needs.
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?
I prepared this 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 simplify their lives.
Press the button and enroll today.
Join me throughout this process to integrate the best payment platforms available.
-
1About the payment platform with Laravel and what you'll learn
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.
-
2About the instructor, Laravel and payment platforms
Learn a little about the instructor and the reason behind choosing Laravel to implement a payment platform using Stripe and PayPal
-
3How to Ask Questions
Through the question system, you can solve your doubts, but it is very important that you ask them in the right way to help you better.
-
4The development environment to use
Some details that may interest you about the development environment that will be used during the course.
-
5Getting the structure of Laravel using Composer
In this class I show you how to get the latest version of Laravel, using Composer, along with some more details.
-
6The source code of the course
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.
-
7Creating the essential models and tables for the payment platform
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
-
8Preparing the payment platform and filling the database from Laravel
It is time to insert the main payment platforms to support (PayPal and Stripe) together with the main currencies (EUR, GBP, USD)
-
9Be sure everything is clear about the essential models and tables
Time to check that everything is clear, before continuing to the next section.
-
10Adding laravel/ui to build some visual components
Laravel UI is a Laravel package that will allow you to quickly generate visual components that you will use in the course.
-
11Generating visual components with laravel/ui
In this class, you will take advantage of Laravel UI to get those visual components to use.
-
12Improving and using the components generated with Laravel UI
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.
-
13Adding components to display the messages from the payment platform
Now that all our views are using the same layout, we can add components that show success or error messages throughout the application.
-
14Creating a form with random amounts using Bootstrap in Laravel
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.
-
15Showing the types of currency available to process a payment
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.
-
16Showing the available payment platforms with Laravel and Bootstrap
Finally, you should now allow choosing between the supported platforms, according to your PaymentPlatform model.
-
17Allowing to customize the form for each payment platform
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.
-
18Adding the actions to process a payment on the platform with Laravel
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.
-
19Make sure you understand the reasons behind the created form
Make sure that the reason why we have created this form is clear.
-
20Adding GuzzleHTTP to Laravel to consume HTTP APIs
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.
-
21Creating a component to use any API of the payment platforms
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.
-
22Creating PayPal test accounts to send and receive payments
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.
-
23Creating a PayPal application to consume your API from Laravel
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.
-
24Configuring the payment platform in Laravel to use the PayPal API
Once you have PayPal credentials, it's time to set up the online payment processing system with Laravel,
-
25Adding a service in Laravel responsible for consuming the PayPal API
It is time to create a component (a class) that represents the PayPal service in the payment processing platform with Laravel.
-
26Decoding and authenticating requests to the PayPal API
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.
-
27Creating an order in the PayPal API for a given amount and currency
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.
-
28Capturing a payment of an order given in Laravel with the PayPal API
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.
-
29Controlling from Laravel the creation of an order using PayPal
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.
-
30Controlling from Laravel the capture of a payment with PayPal
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.
-
31Implementing the payment cancellation flow for any platform
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.
-
32Considering zero-decimal currencies
There exist some currencies which do not allow decimal positions. During this class, I will show you one and how to deal with it.
-
33Creating a component that solves a payment platform dynamically
During this class, you will create the component that will be in charge of resolving the service related to a payment platform.
-
34Resolving the payment platform service according to the user's choice
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.
-
35Creating an account in Stripe for use with the payment platform
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.
-
36Obtaining access credentials to use the Stripe API from Laravel
Now that you have your account in Stripe, it is time to get the credentials that will give you access to your API.
-
37Configuring the payment platform with Laravel to use Stripe
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.
-
38Creating the service for Laravel that will use the Stripe API
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.
-
39Decoding and authenticating Stripe API requests
The first step in consuming the Stripe API is to know how to authorize requests and decode responses.
-
40Requesting a payment method to make payments with Stripe from Laravel
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.
-
41Obtaining a token that represents the payment method in Stripe
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.
-
42Creating a payment intention with the Stripe API from Laravel
-
43Confirming a payment intention from Laravel using the Stripe API
-
44Handling with Laravel the creation of a payment intent in Stripe
-
45Handling with Laravel the confirmation of a payment intent in Stripe
Since the Stripe service is capable of confirming a collection intention, it is time to communicate with the controller in Laravel and perform said confirmation automatically for the user.
-
46Considering Strong Customer Authentication (SCA) with Stripe
It is very important, especially for the European region, to consider SCA (Strong Customer Authentication), to allow processing payments with additional security measures.
-
47Preparing the Stripe service to process payments with 3D Secure (SCA)
It is time to provide to the Stripe service, the capacity to carry out an additional step that is required when the payment method uses 3D-Secure.
-
48Performing 3D Secure validation directly with Stripe
Finally, it is time to validate a 3D-Secure payment method, directly with Stripe, so that the payment can be confirmed automatically.
-
49Creating the Components to Handle Users Subscriptions
Start by creating the essential components of the project to manage plans and subscriptions with Laravel.
-
50Allowing To Determine if a Subscription Is Active and Using It
Add capabilities to your new models to determine when a user has a subscription and still valid.
-
51Implementing the Actions To Start the Subscription of a User
Create the actions and components necessary to handle a user's subscriptions.
-
52Creating the Form That Allows To Purchase a Subscription
Build the form step by step to choose the plan and the payment platform for a subscription.
-
53Start the Payment of a Subscription With a Payment Platform
Connect the different actions and get everything ready for each payment platform to take over the complete subscription process.
-
54Create and Configure the Plans of the Payment Platform in PayPal
The first thing is to indicate in PayPal the plans and products that you will offer to your users and configure the project according to those created products.
-
55Allowing To Create a Subscription With the PayPal API
Now, give the PayPal service the ability to create a subscription using the PayPal API directly from Laravel.
-
56Handling the Creation of a Subscription With PayPal
Now, handle the entire subscription process for a user using PayPal.
-
57Create a Subscription As Soon as It Is Successfully Processed
Insert a subscription into the database as soon as a user goes through the approval process.
-
58Getting Sure a Subscription Attempt Comes From a Payment Process
Make sure that only users who have completed the payment process can activate a subscription in the project.
-
59Apply the Benefits of the User’s Subscription and Avoid Duplicates
Once a user gets a subscription, apply the benefits of their subscription and prevents them from being able to subscribe again.
-
60Create and Configure a Product With Its Prices for Stripe
It is now the turn to create and configure plans and prices directly for Stripe.
-
61Create a Subscription and Customer With Stripe
Give StripeService the ability to create a subscription by consuming the Stripe API from Laravel.
-
62Handle a User Subscription Process With Stripe
Automate the entire subscription process for a user, including security checks with Stripe
-
63Handle Strong Customer Authentication (SCA) in Subscriptions With Stripe
Implement the additional steps to handle protected payment methods with Stripe (SCA).