nsanden/jvzoo-rest-api-php
Composer 安装命令:
composer require nsanden/jvzoo-rest-api-php
包简介
You can use this class to interface with the JVZoo Rest API.
关键字:
README 文档
README
You can use this class to interface with the JVZoo REST API.
Install (Composer)
composer require nsanden/jvzoo-rest-api-php:dev-master
Examples
Start with
$api_key = 'xxxxxxxxx'; $account_password = 'xxxxxxxx'; $jvzoo_rest_api = new \nsanden\jvzoo\JvzooRestApi($api_key, $account_password);
Get recurring payment status
$pre_key = 'PA-XXXXXXXXXXXX'; var_dump(json_decode($jvzoo_rest_api->getRecurringPayment($pre_key)));
Cancel recurring payment
$pre_key = 'PA-XXXXXXXXXXXX'; var_dump(json_decode($jvzoo_rest_api->cancelRecurringPayment($pre_key)));
Get transaction summary
$pay_key = 'PA-XXXXXXXXXXXX'; var_dump(json_decode($jvzoo_rest_api->getTransactionSummary($pay_key)));
Get affiliate status
$product_id = 'XXXXXXXX'; $affiliate_id = 'XXXXXXXXXXXX'; var_dump(json_decode($jvzoo_rest_api->getAffiliateStatus($product_id, $affiliate_id)));
统计信息
- 总下载量: 274
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD
- 更新时间: 2015-04-20