30 lines
795 B
PHP
30 lines
795 B
PHP
|
<?php
|
||
|
$membership_levels = array(
|
||
|
'levels' => array(
|
||
|
'id' => "00000000-0000-0000-0000-000000000000",
|
||
|
'description' => "some level"));
|
||
|
|
||
|
$landUse = array(
|
||
|
'upgrade' => False,
|
||
|
'action' => "");
|
||
|
|
||
|
$currency = array(
|
||
|
'estimatedCost' => "200.00"); // convert_to_real($amount));
|
||
|
|
||
|
$membership = array(
|
||
|
'upgrade' => False,
|
||
|
'action' => "",
|
||
|
'levels' => $membership_levels);
|
||
|
|
||
|
$response_xml = xmlrpc_encode(array(
|
||
|
'success' => True,
|
||
|
'currency' => $currency,
|
||
|
'membership' => $membership,
|
||
|
'landUse' => $landUse,
|
||
|
'currency' => $currency,
|
||
|
'confirm' => "200.00"));
|
||
|
|
||
|
header("Content-type: text/xml");
|
||
|
print $response_xml;
|
||
|
?>
|