Download the PHP package yuansfertest/yuansfer-php-test-sdk without Composer
On this page you can find all versions of the php package yuansfertest/yuansfer-php-test-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yuansfertest/yuansfer-php-test-sdk
More information about yuansfertest/yuansfer-php-test-sdk
Files in yuansfertest/yuansfer-php-test-sdk
Download yuansfertest/yuansfer-php-test-sdk
More information about yuansfertest/yuansfer-php-test-sdk
Files in yuansfertest/yuansfer-php-test-sdk
Vendor yuansfertest
Package yuansfer-php-test-sdk
Short Description Yuansfer PHP SDK
License Apache-2.0
Homepage https://www.yuansfer.com/
Package yuansfer-php-test-sdk
Short Description Yuansfer PHP SDK
License Apache-2.0
Homepage https://www.yuansfer.com/
Please rate this library. Is it a good library?
Informations about the package yuansfer-php-test-sdk
Yuansfer PHP SDK
Requirements
- PHP >= 5.3
- CURL extension
Installation
With Composer (recommended)
-
Install composer:
More info about installation on Linux / Unix / OSX and Windows.
-
Run the Composer command to install the latest version of SDK:
- Require Composer's autoloader in your PHP script (assuming it is in the same directory where you installed Composer):
PHAR with bundled dependencies
This is not recommended! Use Composer as modern way of working with PHP packages.
-
Download PHAR file
- Require files:
Please keep in mind that bundled dependencies may interfere with your other dependencies.
Usage
Please see examples
1. Init
2. Create API
3. Set API Parameters
4.1. Send
4.2. Use Test Mode
5. API return JSON, already decoded as array
6. Exceptions when sending
API Documents
Payments
Online Payment
Yuansfer Checkout
API | Call | Description |
---|---|---|
secure-pay() | $yuansfer->createSecurePay() |
This is used to pay for an order. |
Yuansfer Integrated Payment
API | Call | Description |
---|---|---|
process() | $yuansfer->createProcess() |
Braintree Payments |
prepay() | $yuansfer->createPrepay() |
This API does the mobile payment for the POS system. |
Point of Sale Payment
Scan QR Code
API | Call | Description |
---|---|---|
add() | $yuansfer->createAdd() |
This API initiates a Barcode/QR Code Payment request and creates a transaction order. |
pay() | $yuansfer->createPay() |
This API places an order in the Barcode/QR Code Payment. |
Create QR Code
API | Call | Description |
---|---|---|
create-trans-qrcode() | $yuansfer->createTransQrcode() |
This API creates a transaction and get a QR code for customers to scan to pay in the Transaction QR Code Payment process. Customers scan this QR code using the wallet app to checkout. |
Transaction Revert
API | Call | Description |
---|---|---|
refund() | $yuansfer->createRefund() |
This API refunds the payment of a transaction. |
cancel() | $yuansfer->createCancel() |
This API cancels the payment of a transaction. |
Transaction Data Search
API | Call | Description |
---|---|---|
tran-query() | $yuansfer->createTranQuery() |
This API gets the transaction details by ID of a transaction in the merchant's system. |
trans-list() | $yuansfer->createTransList() |
This API gets all transaction details for a given time period. |
settle-list() | $yuansfer->createSettleList() |
This API gets all settlement details for a given time period. |
withdrawal-list() | $yuansfer->createWithdrawalList() |
This API gets all withdrawal details for a given time period. |
data-status() | $yuansfer->createDataStatus() |
This API gets the settlement status for a given date. |
All versions of yuansfer-php-test-sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3
ext-json Version *
nategood/httpful Version ^0.2.20
mobiledetect/mobiledetectlib Version ^2.8
ext-json Version *
nategood/httpful Version ^0.2.20
mobiledetect/mobiledetectlib Version ^2.8
The package yuansfertest/yuansfer-php-test-sdk contains the following files
Loading the files please wait ....