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.
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.
- Generate secure credentials.
- Generate a payment link to collect payments.
- Verify payment details sent to your redirect url and callback url.
- Get the status of a previously made payment.
- Customize the payment page and also customize how the payment link behaves.
π How it works
Here is how the process usually flows:
- Create a payment link
- Redirect user to the payment page
- User completes payment
- User gets redirected to your redirect url with the status of the payment
- Verify payment status
- Offer value to your user if the payment is successful
That's it!!
π Contents
- π Overview
- π How it works
- οΈβοΈ Notice
- β³ Installation
- πΌπ½ Basic Usage
- Quick Start - Generate Payment Link
- Verify Payment - (Redirect URL)
- Verify Payment - (Callback/Webhook URL)
- Get Payment Status
- πͺπ½ Advanced Usage
- Customize Payment Page and Link
- βπ½οΈ Tips and Tricks
- Pass and retrieve session values from urls
- β οΈ Issues
- ππ½ Contributions
βοΈ 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