viralstyle/worldpay-xml
最新稳定版本:v1.0
Composer 安装命令:
composer require viralstyle/worldpay-xml
包简介
Client for using WorldPay stored profile tokenization endpoints.
README 文档
README
Simple client for using the WorldPay XML API. This library has only been tested with the Stored Profile functions, but should work for any request.
##Example
// Create a client. $client = new WorldpayClient(); // Pass settings via setupApi method. $client->setupApi($acctId, $acctSubId, $merchantPin, $encryptionKey); // Create a request and pass request type (creditcard, ach, etc) and pass in the client. $request = new WorldpayRequest('creditcard', $client); // Add fields as required by your request. You do not need to include any of the fields passed via setupApi() or the request type. You must include all required fields as indicated in the documentation. $request->service = WorldPayClient::SERVICE_PROFILE_CREDIT; $request->amount = 500; // Add other fields as needed. // Execute the request. $response = $request->execute();
统计信息
- 总下载量: 89
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-09-02