add fake landtool
parent
6168c923d1
commit
d6f9b72a0f
|
@ -0,0 +1,29 @@
|
||||||
|
<?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;
|
||||||
|
?>
|
Loading…
Reference in New Issue