infyomlabs/laravel-payumoney

Laravel Payumoney Integration Library

v1.3.0 2021-04-22 07:00 UTC

This package is auto-updated.

Last update: 2021-09-12 04:40:20 UTC


README

PayuMoney Integration with Laravel

Total Downloads Monthly Downloads Daily Downloads License

Easy to use integration for PayUMoney into Laravel apps.

Video Tutorial

Watch the video

Usage

composer require infyomlabs/laravel-payumoney:"^1.3.0"

Publish the config files and view files

php artisan laravel-payumoney:publish

Above command will publish the following files:

  • resources/views/payumoney/pay.blade.php
  • resources/views/payumoney/fail.blade.php
  • config/payu.php
  • App\Http\Controllers\PayuMoneyController.php

Add the following two routes to VerifyCsrfToken.php into except as its callback routes.

payu-money-payment-cancel
payu-money-payment-success

You need to change the PAYU_TEST_MODE=false when you are done with testing and want to use it in production.

Route to open payumoney form :

{APP_URL}/payu-money-payment