sofort/sofortlib-php
最新稳定版本:3.3.2
Composer 安装命令:
composer require sofort/sofortlib-php
包简介
SOFORT API wrapper for PHP
README 文档
README
This documentation explains the SofortLib PHP, its parts, how to set it up and how to test it.
DESCRIPTION
Integrate the SofortLib PHP into your project to communicate via PHP with the SOFORT API.
Find out more about the SOFORT API/SDK here: https://www.sofort.com/integrationCenter-eng-DE/integration/API-SDK/
SofortLib PHP Supports the following SOFORT Products:
- SOFORT Überweisung (SOFORT Banking/Payment)
- SOFORT Paycode
- SOFORT Billcode
- Refund
- iDEAL
Install
Install the sofort/sofortlib-php package using composer:
{
"require": {
"sofort/sofortlib-php": "3.*"
}
}
SofortLib Package
The SofortLib PHP package contains the following:
- the
/srcdirectory with the class-files - an
/examplesfolder, with examples of usage - the folder
/testwith the unittests (for PHP Unit).
Functionality
- initiate a SOFORT Überweisung
- create/initiate a SOFORT Überweisung Paycode
- create/initiate a SOFORT Überweisung Billcode
- getting the details for one or more transactions
- getting the details for a period and/or status
- convert received XML to a PHP Object
- marking refunds
- getting the current iDEAL Bank list
- generate a forward URL for the iDEAL payment data
- creating checksum/hash for iDEAL Payment data
- creating checksum/hash for iDEAL Notifications
Usage
Find examples of usage for the different modules in the /examples directory.
Testing
Run the tests
./vendor/bin/phpunit
统计信息
- 总下载量: 2.02M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 70
- 点击次数: 1
- 依赖项目数: 14
- 推荐数: 0
其他信息
- 授权协议: LGPL-3
- 更新时间: 2015-06-22