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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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.

  1. store_id = your store id in SSL-Wirless Payment Gateway.
  2. store_password = your store password in SSL-Wirless Payment Gateway
  3. sandbox = true for sandbox and false for live
  4. redirect_url = your application redirect url after success, fail and cancel.

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

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

Special Thanks to Tawsif ul Karim.

Support on Beerpay

Hey dude! Help me out for a couple of :beers:!

Beerpay Beerpay


All versions of php-sslwireless-payment with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
guzzlehttp/guzzle Version ^6.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package shipu/php-sslwireless-payment contains the following files

Loading the files please wait ....