Download the PHP package zepson/dpo-php without Composer
On this page you can find all versions of the php package zepson/dpo-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zepson/dpo-php
More information about zepson/dpo-php
Files in zepson/dpo-php
Package dpo-php
Short Description A simple package to add DPO API to your laravel application and make payment processing much easy
License MIT
Homepage https://github.com/zepson/dpo-laravel
Informations about the package dpo-php
DPO (Direct Pay Online) PHP Package
The best DPO php package, simple Ever
This is the package that will help you add DPO Payment API to your PHP Application, We are open to contribution and support to make it better.
Features
- Create Payment Token (Initiate order at DPO servers)
- Verify Payment Token (Check Transaction status)
- Make Direct payment(Redirects order direct to DPO payment page)
- Fetch Payment Token
- Database migrations to save transaction details
- Much easy to use
- Constantly updated
How It works
- Create Payment token
- Verify token
- Redirect to DPO payment page
- Fetch response
- Done
The package does all this for you behind the scenes 😂
Basic Usage Example.
Installation
Install the package Via Composer
Requirements
- PHP: "7.4|^8.0"
USAGE
-
create array of your order which match parrameters in the following exaple
- Now you can choose to make direct payment or createToken First and then make payment
-
Starting with Direct Payment
- If you preffer to save details then this is the ideal step to follow [Generate Token, Make payment]
-
Get Token
-
Get payment Url
- Redirect User to payment page
As [Novath Thomas] always says
There is a huge difference between sysem security and complications, Complication hurts, API should'nt be complicated Thats one of the primary AIM of the introduction of APIs
We would like more contributions to make the package more secure and readable.
License
This project is licensed under the MIT license.