<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.plati.online/index.php?action=history&amp;feed=atom&amp;title=Query_request_response</id>
	<title>Query request response - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.plati.online/index.php?action=history&amp;feed=atom&amp;title=Query_request_response"/>
	<link rel="alternate" type="text/html" href="https://wiki.plati.online/index.php?title=Query_request_response&amp;action=history"/>
	<updated>2026-10-23T10:16:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.plati.online/index.php?title=Query_request_response&amp;diff=31&amp;oldid=prev</id>
		<title>George.fatu: Created page with &quot; == Query Request Response ==  :Once the &#039;&#039;&#039;Query Request XML_Message&#039;&#039;&#039; is successfully parsed the Plati Online system will process it.   :Validate returned XML with schema: &#039;&#039;&#039;[https://secure.plationline.ro/xml_validation/query.response.v5.xsd https://secure.plationline.ro/xml_validation/query.response.v5.xsd]&#039;&#039;&#039;   &amp;nbsp; &lt;syntaxhighlight lang=&quot;xml&quot;&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;po_query_response&gt; 	&lt;po_error_code&gt;                 &lt;![CDATA[ 			1 - an error oc...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.plati.online/index.php?title=Query_request_response&amp;diff=31&amp;oldid=prev"/>
		<updated>2024-07-17T14:22:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; == Query Request Response ==  :Once the &amp;#039;&amp;#039;&amp;#039;Query Request XML_Message&amp;#039;&amp;#039;&amp;#039; is successfully parsed the Plati Online system will process it.   :Validate returned XML with schema: &amp;#039;&amp;#039;&amp;#039;[https://secure.plationline.ro/xml_validation/query.response.v5.xsd https://secure.plationline.ro/xml_validation/query.response.v5.xsd]&amp;#039;&amp;#039;&amp;#039;     &amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt; &amp;lt;po_query_response&amp;gt; 	&amp;lt;po_error_code&amp;gt;                 &amp;lt;![CDATA[ 			1 - an error oc...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== Query Request Response ==&lt;br /&gt;
&lt;br /&gt;
:Once the &amp;#039;&amp;#039;&amp;#039;Query Request XML_Message&amp;#039;&amp;#039;&amp;#039; is successfully parsed the Plati Online system will process it. &lt;br /&gt;
&lt;br /&gt;
:Validate returned XML with schema: &amp;#039;&amp;#039;&amp;#039;[https://secure.plationline.ro/xml_validation/query.response.v5.xsd https://secure.plationline.ro/xml_validation/query.response.v5.xsd]&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;po_query_response&amp;gt;&lt;br /&gt;
	&amp;lt;po_error_code&amp;gt;&lt;br /&gt;
                &amp;lt;![CDATA[&lt;br /&gt;
			1 - an error occurred parsing the &amp;#039;&amp;#039;&amp;#039;Query Request XML_Message&amp;#039;&amp;#039;&amp;#039; and PlatiOnline will not process the request;&lt;br /&gt;
			0 - no error =&amp;gt; &amp;#039;&amp;#039;&amp;#039;Query Request XML_Message&amp;#039;&amp;#039;&amp;#039; is valid and PlatiOnline will attempt to process the request.&lt;br /&gt;
		]]&amp;gt;&lt;br /&gt;
        &amp;lt;/po_error_code&amp;gt;&lt;br /&gt;
	&amp;lt;po_error_reason&amp;gt;&lt;br /&gt;
		&amp;lt;![CDATA[the error message]]&amp;gt;&lt;br /&gt;
	&amp;lt;/po_error_reason&amp;gt;&lt;br /&gt;
	&amp;lt;order&amp;gt;&lt;br /&gt;
		&amp;lt;f_order_number&amp;gt;&lt;br /&gt;
			&amp;lt;![CDATA[&lt;br /&gt;
				Numarul comenzii din sistemul comerciantului.&lt;br /&gt;
				Actest parametru face legatura dintre comanda din sistemul comerciantului si sistemul PO.&lt;br /&gt;
			]]&amp;gt;&lt;br /&gt;
		&amp;lt;/f_order_number&amp;gt;&lt;br /&gt;
         	&amp;lt;tranzaction&amp;gt;&lt;br /&gt;
			&amp;lt;x_trans_id&amp;gt;&lt;br /&gt;
				&amp;lt;![CDATA[&lt;br /&gt;
					Reprezinta ID – ul tranzactiei in sistemul plationline.&lt;br /&gt;
					Acest ID identifica in mod unic tranzactia in cadrul sistemului plationline, &lt;br /&gt;
					si este utilizat de fiecare data cand se modifica starile tranzactiei prin operatii specifice.&lt;br /&gt;
				]]&amp;gt;&lt;br /&gt;
			&amp;lt;/x_trans_id&amp;gt;&lt;br /&gt;
			&amp;lt;x_time_stamp&amp;gt;&lt;br /&gt;
				&amp;lt;![CDATA[&lt;br /&gt;
					Reprezinta momentul in care s-a cerut autorizarea tranzactiei in sistemul plationline.&lt;br /&gt;
				]]&amp;gt;&lt;br /&gt;
			&amp;lt;/x_time_stamp&amp;gt;&lt;br /&gt;
			&amp;lt;f_ip&amp;gt;&lt;br /&gt;
				&amp;lt;![CDATA[&lt;br /&gt;
					Reprezinta momentul in care s-a cerut autorizarea tranzactiei in sistemul plationline.&lt;br /&gt;
				]]&amp;gt;&lt;br /&gt;
			&amp;lt;/f_ip&amp;gt;&lt;br /&gt;
			&amp;lt;status_fin1&amp;gt; &lt;br /&gt;
			        &amp;lt;timestamp&amp;gt; = &amp;quot;Momentul GMT 0 in care tranzactia a trecut in acesta stare;&lt;br /&gt;
                                                   Formatul: YYYY-MM-DDThh:mm:ss&lt;br /&gt;
&lt;br /&gt;
                                                   Date time in formatul ISO 8601.&lt;br /&gt;
&lt;br /&gt;
                                                   http://en.wikipedia.org/wiki/ISO_8601&amp;quot;&amp;gt;&lt;br /&gt;
			        &amp;lt;/timestamp&amp;gt;&lt;br /&gt;
			        &amp;lt;code&amp;gt;&lt;br /&gt;
				     &amp;lt;![CDATA[&lt;br /&gt;
					Codul starii financiare 1.&lt;br /&gt;
					[[Vezi Anexa G.]]&lt;br /&gt;
				     ]]&amp;gt;&lt;br /&gt;
			        &amp;lt;/code&amp;gt;&lt;br /&gt;
			&amp;lt;/status_fin1&amp;gt;&lt;br /&gt;
			&amp;lt;status_fin2&amp;gt;&lt;br /&gt;
			        &amp;lt;timestamp&amp;gt; = &amp;quot;Momentul GMT 0 in care tranzactia a trecut in acesta stare;&lt;br /&gt;
                                                   Formatul: YYYY-MM-DDThh:mm:ss&lt;br /&gt;
&lt;br /&gt;
                                                   Date time in formatul ISO 8601.&lt;br /&gt;
&lt;br /&gt;
                                                   http://en.wikipedia.org/wiki/ISO_8601&amp;quot;&amp;gt;&lt;br /&gt;
			        &amp;lt;/timestamp&amp;gt;&lt;br /&gt;
			        &amp;lt;code&amp;gt;&lt;br /&gt;
				&amp;lt;![CDATA[&lt;br /&gt;
					Codul starii financiare 2.&lt;br /&gt;
					[[Vezi Anexa G.]]&lt;br /&gt;
				]]&amp;gt;&lt;br /&gt;
			        &amp;lt;/code&amp;gt;&lt;br /&gt;
			&amp;lt;/status_fin2&amp;gt;&lt;br /&gt;
			&amp;lt;status_cc&amp;gt;&lt;br /&gt;
			        &amp;lt;timestamp&amp;gt; = &amp;quot;Momentul GMT 0 in care tranzactia a trecut in acesta stare;&lt;br /&gt;
                                                   Formatul: YYYY-MM-DDThh:mm:ss&lt;br /&gt;
&lt;br /&gt;
                                                   Date time in formatul ISO 8601.&lt;br /&gt;
&lt;br /&gt;
                                                   http://en.wikipedia.org/wiki/ISO_8601&amp;quot;&amp;gt;&lt;br /&gt;
			        &amp;lt;/timestamp&amp;gt;&lt;br /&gt;
			        &amp;lt;code&amp;gt;&lt;br /&gt;
				&amp;lt;![CDATA[&lt;br /&gt;
					Codul starii de completare a comenzii.&lt;br /&gt;
					[[Vezi Anexa G.]]&lt;br /&gt;
				]]&amp;gt;&lt;br /&gt;
			        &amp;lt;/code&amp;gt;&lt;br /&gt;
			&amp;lt;/status_cc&amp;gt;&lt;br /&gt;
			&amp;lt;status_security&amp;gt;&lt;br /&gt;
			        &amp;lt;timestamp&amp;gt; = &amp;quot;Momentul GMT 0 in care tranzactia a trecut in acesta stare;&lt;br /&gt;
                                                   Formatul: YYYY-MM-DDThh:mm:ss&lt;br /&gt;
&lt;br /&gt;
                                                   Date time in formatul ISO 8601.&lt;br /&gt;
			        &amp;lt;/timestamp&amp;gt;&lt;br /&gt;
			        &amp;lt;code&amp;gt;&lt;br /&gt;
				&amp;lt;![CDATA[&lt;br /&gt;
					Codul starii de securitate.&lt;br /&gt;
					[[Vezi Anexa G.]]&lt;br /&gt;
				]]&amp;gt;&lt;br /&gt;
			        &amp;lt;/code&amp;gt;&lt;br /&gt;
			&amp;lt;/status_security&amp;gt;&lt;br /&gt;
			&amp;lt;status_sc&amp;gt;&lt;br /&gt;
			        &amp;lt;timestamp&amp;gt;= &amp;quot;Momentul GMT 0 in care tranzactia a trecut in acesta stare;&lt;br /&gt;
                                                   Formatul: YYYY-MM-DDThh:mm:ss&lt;br /&gt;
&lt;br /&gt;
                                                   Date time in formatul ISO 8601.&lt;br /&gt;
&lt;br /&gt;
                                                   http://en.wikipedia.org/wiki/ISO_8601&amp;quot;&amp;gt;&lt;br /&gt;
			        &amp;lt;/timestamp&amp;gt;&lt;br /&gt;
			        &amp;lt;code&amp;gt;&lt;br /&gt;
				&amp;lt;![CDATA[&lt;br /&gt;
					Codul starii comenzii din punct de vedere al serviciului clienti.&lt;br /&gt;
					[[Vezi Anexa G.]]&lt;br /&gt;
				]]&amp;gt;&lt;br /&gt;
			        &amp;lt;/code&amp;gt;&lt;br /&gt;
			&amp;lt;/status_sc&amp;gt;&lt;br /&gt;
			&amp;lt;f_shipping_company&amp;gt;&lt;br /&gt;
				&amp;lt;![CDATA[&lt;br /&gt;
					Numele companiei care face livrarea comenzii.&lt;br /&gt;
					Acesta valoare poate fi trimisa de comerciant cand face cererea de Incasare a tranzactiei.&lt;br /&gt;
				]]&amp;gt;&lt;br /&gt;
			&amp;lt;/f_shipping_company&amp;gt;&lt;br /&gt;
			&amp;lt;f_awb&amp;gt;&lt;br /&gt;
				&amp;lt;![CDATA[&lt;br /&gt;
					Numarul documentului de transport de la compania care face livrarea.&lt;br /&gt;
					Acesta valoare poate fi trimisa de comerciant cand face cererea de Incasare a tranzactiei.&lt;br /&gt;
				]]&amp;gt;&lt;br /&gt;
			&amp;lt;/f_awb&amp;gt;&lt;br /&gt;
			&amp;lt;f_cc_type&amp;gt;&lt;br /&gt;
				&amp;lt;![CDATA[&lt;br /&gt;
					Tipul cardului utilizat.&lt;br /&gt;
					Valoare= M – Card Mastercard sau Maestro;&lt;br /&gt;
					Valoare= V – Card Visa sau Visa Electron.&lt;br /&gt;
					Valoare= na – informatie indisponibila.&lt;br /&gt;
				]]&amp;gt;&lt;br /&gt;
			&amp;lt;/f_cc_type&amp;gt;&lt;br /&gt;
			&amp;lt;f_amount&amp;gt;&lt;br /&gt;
				&amp;lt;![CDATA[&lt;br /&gt;
					Suma tranzactiei.&lt;br /&gt;
					Cu &amp;quot;punct&amp;quot; ca delimitator si 2 zecimale dupa delimitator.&lt;br /&gt;
				]]&amp;gt;&lt;br /&gt;
			&amp;lt;/f_amount&amp;gt;&lt;br /&gt;
			&amp;lt;f_currency&amp;gt;&lt;br /&gt;
				&amp;lt;![CDATA[&lt;br /&gt;
					Moneda in care se face tranzactia.&lt;br /&gt;
					Valori: RON sau USD sau EUR&lt;br /&gt;
					]]&amp;gt;&lt;br /&gt;
			&amp;lt;/f_currency&amp;gt;&lt;br /&gt;
		&amp;lt;/tranzaction&amp;gt;&lt;br /&gt;
	&amp;lt;/order&amp;gt;&lt;br /&gt;
&amp;lt;/po_query_response&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To continue here is the Pseudo-code:&lt;br /&gt;
&lt;br /&gt;
#Load the returned XML; &lt;br /&gt;
#if &amp;#039;&amp;#039;&amp;#039;po_error_code&amp;#039;&amp;#039;&amp;#039; = 1 echo the error message from &amp;#039;&amp;#039;&amp;#039;po_error_reason&amp;#039;&amp;#039;&amp;#039; tag; &lt;br /&gt;
#if &amp;#039;&amp;#039;&amp;#039;po_error_code&amp;#039;&amp;#039;&amp;#039; = 0 echo update the order status.&lt;/div&gt;</summary>
		<author><name>George.fatu</name></author>
	</entry>
</feed>