Download the PHP package jagdish-j-p/sbi-pay without Composer
On this page you can find all versions of the php package jagdish-j-p/sbi-pay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jagdish-j-p/sbi-pay
More information about jagdish-j-p/sbi-pay
Files in jagdish-j-p/sbi-pay
Package sbi-pay
Short Description A laravel implementation for SBI payment service
License MIT
Homepage https://github.com/jagdish-j-p/sbi-pay
Informations about the package sbi-pay
SBI E Pay Integration in Laravel
This package provides laravel implementations for SBI Payment Gateway services.
Become a sponsor
Your support allows me to keep this package free, up-to-date and maintainable. Alternatively, you can spread the word!
Important Notes
- Your Production / Stagging server ip and domain must be whitelisted by SBI to start integration. Otherwise their Test URL will not be accessible.
Installation
You can install the package via composer:
Then run the publish command to publish the config files and other supported files
This will generate the following files
- The config file with default setup for you to override
sbipay.php
- The controller that will receive payment response and any host-to-host events
app/Http/Controllers/SBIPay/Controller.php
- The assets in public directory.
- The view file with default html for you to override
payment.blade.php
. Note do not change form action URLsbi-pay.payment.auth.request
.
Set-Up
- Add your redirect urls and your Credentials provided by SBI to the
.env
file.
You can override the defaults by updating the config file.
Usage
- You can visit https://app.test/sbi-pay/initiate/payment for the payment flow demo of web integration. You can override below function defined in
app/Http/Controllers/SBIPay/Controller.php
as per your requirement.
You can also override payment.blade.php
with your custom design to integrate with your layout. but do not change name
attribute of html controls and action
URL of form.
-
Handle the payment response in
app/Http/Controllers/SBIPay/Controller.php
-
View Transaction Status
- Check transaction status or Initiate Refund from Controller
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Jagdish-J-P
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of sbi-pay with dependencies
ext-json Version *
guzzlehttp/psr7 Version ^2.2
laravel/framework Version ^6.0 || ^7.0 || ^8.0 || ^9.0