<?php /** * example that adds a second chance for a user * * $Id$ * * @package Services_Ebay * @subpackage Examples * @author Stephan Schmidt */ error_reporting(E_ALL); require_once '../vendor/autoload.php'; require_once 'config.php'; $session = \Services\Ebay::getSession($devId, $appId, $certId); $session->setToken($token); $ebay = new \Services\Ebay($session); $item = $ebay->AddSecondChanceItem('4501333765', 'loislane-74', 'Days_3'); echo '<pre>'; print_r($item->toArray()); echo '</pre>';