Download the PHP package shipu/php-sslwireless-payment without Composer
On this page you can find all versions of the php package shipu/php-sslwireless-payment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shipu/php-sslwireless-payment
More information about shipu/php-sslwireless-payment
Files in shipu/php-sslwireless-payment
Package php-sslwireless-payment
Short Description PHP client for SSL Wireless Payment API
License MIT
Informations about the package php-sslwireless-payment
PHP SSL-Wirless Payment Client
php-sslwireless-payment is a PHP client for SSL Wirless Payment Gateway API. This package is also support Laravel.
Installation
Go to terminal and run this command
Wait for few minutes. Composer will automatically install this package for your project.
For Laravel
Below Laravel 5.5 open config/app
and add this line in providers
section
For Facade support you have add this line in aliases
section.
Then run this command
Configuration
This package is required three configurations.
- store_id = your store id in SSL-Wirless Payment Gateway.
- store_password = your store password in SSL-Wirless Payment Gateway
- sandbox =
true
for sandbox andfalse
for live - redirect_url = your application redirect url after
success
,fail
andcancel
.
php-sslwireless-payment is take an array as config file. Lets services
For Laravel
This package is also support Laravel. For laravel you have to configure it as laravel style.
Go to app\sslwpayment.php
and configure it with your credentials.
Usages
- Mandatory input field name
- tran_id
- cus_name
- cus_email
- cus_phone
Getting Payment Post Url
In PHP:
In Laravel:
Getting Hidden Input Field
Where Transaction id is random value. you can generate by yourself or follow bellow steps:
Generate Transaction Id
Checking Valid Response
Checking valid response with amount:
Checking valid response with amount and transaction id:
Where $request
will appear after post response.
In Blade
Getting Payment Post Url
Getting Hidden Input Field
Complete Post Button View
Example
Route
or
Controller Method
To Disable CSRF token
Open app/Http/Middleware/VerifyCsrfToken.php
and adding :
Credits
- Shipu Ahamed
- All Contributors
Special Thanks to Tawsif ul Karim.
Support on Beerpay
Hey dude! Help me out for a couple of :beers:!