承接 nsanden/jvzoo-rest-api-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 5
  • Watchers: 3
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: BSD
  • 更新时间: 2015-04-20