R Gaur has a good tutorial on how to integrate Paypal into our Laravel 5.2 applications.

Paypal payment gateway

PayPal has release an official SDK (https://github.com/paypal/rest-api-sdk-php) to simplify our work. Here we will learn how to integrate into Laravel 5.2.

Requirement We will be using laracast flash notification system https://github.com/laracasts/flash.

  1. Install PayPal SDK and Laracast Flash notification via composer

Edit File composer.json and add

"require": { "laracasts/flash": "^2.0", "paypal/rest-api-sdk-php": "*" }