Download the PHP package unipayment/client without Composer
On this page you can find all versions of the php package unipayment/client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download unipayment/client
More information about unipayment/client
Files in unipayment/client
Package client
Short Description This SDK provides a convenient abstraction of UniPayment's Gateway API and allows developers to focus on payment flow/e-commerce integration rather than on the specific details of client-server interaction using the raw API.
License MIT
Homepage https://unipayment.io
Informations about the package client
UniPayment PHP Client
A PHP SDK for the UniPayment Client API.
This SDK provides a convenient abstraction of UniPayment's Gateway API and allows developers to focus on payment flow/e-commerce integration rather than on the specific details of client-server interaction using the raw API.
Getting Started
Before using the UniPayment API, sign up for your API key.
If you want to use the Sandbox, sign up here.
Installation
Install Composer
Install via composer
Add unipayment/client into require section of composer.json
Initializing UniPayment SDK
Sandbox is used in the same way with is_sandbox as true.
Create an invoice
Reference:https://unipayment.readme.io/reference/create_invoice
CreateInvoiceResponse
Webhook Notification
Webhook Signature Verification
Use the below code to verify of the 'hmac_signature' which can extract from the request header
Run Example
1.Get source code form GitHub
2.Run project in PHPStorm
License
MIT License
Copyright (c) 2024 UniPayment
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
All versions of client with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version >=7.9.2
doctrine/annotations Version >=2.0.1
jms/serializer Version >=3.30.0
monolog/monolog Version 1.27.1
phpdocumentor/reflection-docblock Version >=5.4.1