<?xml version="1.0" encoding="utf-8" ?>
<order type="card" id="string64" timestamp="YYYYmmddHHiiss">
	<!-- signature element is mandatory -->
	<signature>XXXX-XXXX-XXXX-XXXX-XXXX</signature>
	<!-- service element is optional -->
	<service>000000-000000-000000</service>
	<!-- url group is optional; use it only if you want to overwrite control panel configurations -->
	<url>
		<!-- confirm is optional; use it only if you want to ovewrite confirm url configured in mobilpay.ro control panel -->
		<confirm>http://www.site_propriu.com/return</confirm>
		<!-- return is optional; use it only if you want to ovewrite return url configured in mobilpay.ro control panel -->
		<return>http://www.site_propriu.com/confirm</return>
	</url>
	<!--  
	invoice element is mandatory ; 
		currency attribute is mandatory (check for available values - at this moment only RON is available)
		ammount attribute is mandatory for order->type="card" if no invoice items are specified
	-->
	<invoice currency="RON" amount="12.09">
		<!-- 
			details element is optional - it describes the payment to be made
		-->
		<details></details>
		<!-- 
			address block is optional
			for order->type="card" mobilpay.ro will ask the user for address informations not supplied by the merchant 
		-->
		<contact_info>
			<!-- 
				if billing is suplied type attribute is mandatory
				if type="company" deliver company name in <first_name>, fiscal numer in <fiscal_number> and registration number in <identity_number>
				if type="person" deliver personal number in <fiscal_number> and identity card number in <identity_number>
				for order->type="card" mobilpay.ro will ask the user for address informations not supplied by the merchant 
			-->
			<billing type="company|person">
				<first_name>Prenume</first_name>
				<last_name>Nume</last_name>
				<fiscal_number>cnp|cui</fiscal_number>
				<identity_number>ci|reg</identity_number>
				<!-- country - ISO code -->
				<country></country>
				<county></county>
				<city></city>
				<zip_code></zip_code>
				<address></address>
				<email></email>
				<mobile_phone></mobile_phone>
				<bank></bank>
				<iban></iban>
			</billing>
			<!-- 
			if shipping data is same as billing data set sameasbilling attribute to 1 
			if shipping data differs from billing data do set sameasbilling attribute at all
			values delivery has to be done in the same manner as for billing element
			-->
			<shipping type="company|person" sameasbilling="1">
				<first_name>Prenume</first_name>
				<last_name>Nume</last_name>
				<fiscal_number>cnp|cui</fiscal_number>
				<identity_number>ci|reg</identity_number>
				<!-- country - ISO code -->
				<country></country>
				<county></county>
				<city></city>
				<zip_code></zip_code>
				<address></address>
				<email></email>
				<mobile_phone></mobile_phone>
				<bank></bank>
				<iban></iban>
			</shipping>
		</contact_info>
		<!-- 
		item group is optional
		deliver them only if you want the customer to see in the payment interface all the items that he's gonna pay for 
		-->
		<items>
			<item>
				<code></code>
				<name></name>
				<measurment></measurment>
				<quantity></quantity>
				<!-- price should not contain VAT -->
				<price></price>
				<!-- VAT is expressed as a sub-unit number (e.g. 0.19)-->
				<vat></vat>
			</item>
		</items>
		<exchange_rates>
			<rate currency="currencyValue">rateValue</rate>
		</exchange_rates>
	</invoice>
	<!--
		params group is optional
		deliver as many parameters as you want
		all delivered parameters will be returned to you in payment confirmation process 
	-->
	<params>
		<param>
			<name>param1Name</name>
			<value>param1Value</value>
		</param>
		<param>
			<name>param2Name</name>
			<value>param2Value</value>
		</param>
		<!-- ....... -->
		<param>
			<name>paramnName</name>
			<value>paramnValue</value>
		</param>
	</params>
	<!-- 
	mobilpay element is added to the original XML you have sent
	timestamp attribute is the timestamp of the mobilpay server and states the moment the payment has been validated on mobilpay's side
	Your confirm url should reply in XML format, and the response must contain the crc value
	-->
	<mobilpay timestamp="20091013183144" crc="05e49494318c270914bb0e85175e45ce">
		<!-- 	action element can be "paid", "confirmed", "canceled", "paid_pending", "confirmed_pending"  si "credit"		-->
	   <action>confirmed</action>
	   <!-- original_amount element stands for the amount on hold upon authentication -->
	   <original_amount>100</original_amount>
	   <!-- processed_amount element stands for the amount actually being captured (this can be less than the original amount for a partial refund -->
	   <processed_amount></processed_amount>
	   <!--	purchase element is a numeric identifier for the mobilpay transaction	-->
       <purchase>21</purchase>
	   <!--	the error element and its attributes do not have any meaning for a SMS payment	-->
       <error code="0"><![CDATA[Transaction approved]]></error>
   </mobilpay>
</order>