Download the PHP package gitplus/payfluid without Composer

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

A package that wraps eTranzact's PayFluid payment API

πŸ“Œ Overview

This package simplifies the process of integrating PayFluid's payment into your application. It supports all the endpoints exposed by PayFluid.

🚜 How it works

Here is how the process usually flows:

  1. Create a payment link
  2. Redirect user to the payment page
  3. User completes payment
  4. User gets redirected to your redirect url with the status of the payment
  5. Verify payment status
  6. Offer value to your user if the payment is successful

That's it!!


πŸ“š Contents

❗️ Notice

NB: Please note that the IP address of your host device (where you are making requests from) must be whitelisted by PayFluid for any of these to work.


⏳ Installation

You will need composer to install this package. You can get it here


πŸ‘ΌπŸ½ Basic Usage

Kindly note that error handling has been intentionally left out of these examples for brevity.

1. Generate payment link.

Here a quick start to get you going quickly.

2. Verify transaction on your redirect URL.

Here is how you can verify a payment when the details get sent to your redirect url.

3. Verify transaction on your callback/webhook URL.

Here is how you can verify a payment when the details get sent to your callback/webhook url.

4. Check or confirm the status of a previous payment.

Here is how you can contact PayFluid servers to find out about the status of a particular payment. ``

πŸ’ͺ🏽 Advanced Usage

1. Customize payment page and link behaviour.

⚠️ ⚠️ EXPERIMENTAL (WILL PROBABLY NOT WORK). YOU HAVE BEEN WARNED ⚠️ ⚠️

PayFluid gives you some flexibility. You can customize how the web url you get behaves and also customize how the payment page that will be presented to your user will look like. Below is an example of how you can achieve that.


✌🏽️ Tips

1. Pass and retrieve session value from redirect or callback url.

If you are finding it difficult to store your session value you can pass it via your redirect or callback url.


⚠️ Issues

If you come across any issue or a problem kindly feel free and report it here


πŸ‘ŠπŸ½ Contributions

Contributions and improvements are welcome


All versions of payfluid with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
phpseclib/phpseclib Version ~2.0
ext-json Version *
ext-curl 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 gitplus/payfluid contains the following files

Loading the files please wait ....