Paypal version 2 Checkout implemention in laravel 8.
Step 1:
Clone this repository: git clone https://github.com/vickymessii/paypal-v2-laravel8
Step 2:
Run composer install
Rename example.env to .env
Add 3 variable to env
PAYPAL_MODE=sandbox or live
PAYPAL_CLIENT_ID=
PAYPAL_SECRET_KEY=
Update these variable with actul config & run your project. php artisan serve
Inspired by this article Complete Solution to integrate PayPal v2 with JQuery + Laravel?