<?php
require_once 'allopass-apikit-php5/api/AllopassAPI.php';
 $api = new AllopassAPI();

//$response = $api->getOnetimeDiscretePricing (array('site_id' => 222616, 'amount' => 7.08, 'country' => 'FR'));
$response = $api->getOnetimePricing (array('site_id' => 283167));
//$response = $api->getProduct('879233');

header("Content-type: text/xml");
echo ($response);
?>