2017 © Pedro Peláez
 

library jvzoo-rest-api-php

You can use this class to interface with the JVZoo Rest API.

image

nsanden/jvzoo-rest-api-php

You can use this class to interface with the JVZoo Rest API.

  • Saturday, August 5, 2017
  • by nsanden
  • Repository
  • 2 Watchers
  • 3 Stars
  • 183 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 3 % Grown

The README.md

Jvzoo REST API (PHP)

You can use this class to interface with the JVZoo REST API., (*1)

Install (Composer)

composer require nsanden/jvzoo-rest-api-php:dev-master

Examples

Start with, (*2)

$api_key = 'xxxxxxxxx';
$account_password = 'xxxxxxxx';
$jvzoo_rest_api = new \nsanden\jvzoo\JvzooRestApi($api_key, $account_password);

Get recurring payment status, (*3)

$pre_key = 'PA-XXXXXXXXXXXX';
var_dump(json_decode($jvzoo_rest_api->getRecurringPayment($pre_key)));

Cancel recurring payment, (*4)

$pre_key = 'PA-XXXXXXXXXXXX';
var_dump(json_decode($jvzoo_rest_api->cancelRecurringPayment($pre_key)));

Get transaction summary, (*5)

$pay_key = 'PA-XXXXXXXXXXXX';
var_dump(json_decode($jvzoo_rest_api->getTransactionSummary($pay_key)));

Get affiliate status, (*6)

$product_id = 'XXXXXXXX';
$affiliate_id = 'XXXXXXXXXXXX';
var_dump(json_decode($jvzoo_rest_api->getAffiliateStatus($product_id, $affiliate_id)));

The Versions

05/08 2017

dev-master

9999999-dev

You can use this class to interface with the JVZoo Rest API.

  Sources   Download

BSD 3-Clause

jvzoo