Download the PHP package mantraideas/laravel-connectips without Composer

On this page you can find all versions of the php package mantraideas/laravel-connectips. 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 laravel-connectips

Laravel Connectips

Laravel Connectips

Latest Stable Version Total Downloads License

The mantraideas/laravel-connectips allows you to integrate ConnectIps payment on your Laravel Application.

Quick Start

Install Using Composer

Publish Config File

This will create a config/connectips.php file in your Laravel application. If you want to change the default configuration, you can do so in this file.

Set Environment Variables

You can set the environment variables in your .env file:

Here is the description of each environment variable:

Usage

Create Payment Form

You can create a payment form using the transaction details generated above. Here is an example of how to create a payment form in your Blade view:

After this user will be redirected to connectips payment webpage and then after the action user will be redirected to Success or Fail callback url based on the payment status. Then you can use the following code to handle the success and failure callback.

Validate Payment Status

Additionally, you can validate payment status using the validatePayment method. This method will check the payment status and return a boolean value. You will get from the response of Connectips API to your success and failed payment callback url. You can use the following code to validate the payment status. By using the you can check your payments table to get amount and use this method.

This will return transaction status as follows.

Get Transaction Details

You can also get transaction details using the getTransactionDetails method. This method will return the transaction details as an array.

This will return transaction details as follows.

License

MIT

Author

Support

For support, email dipeshkhanal79[at]gmail[dot]com.


All versions of laravel-connectips with dependencies

PHP Build Version
Package Version
Requires ext-openssl Version *
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 mantraideas/laravel-connectips contains the following files

Loading the files please wait ....