Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
ordernumber: 0001-01 responsecode: AS000
recommendation: message: Завершено
успешно. ordercomment: тестовый платеж orderdate: 01.01.20112018 09:00:05 amount:
100.00 currency: RUB meantypename: VISA meannumber: 411111****1111 lastname:
Testov firstname: Test middlename: Testovich issuebank: BANK email: test@testpost.ru bankcountry:
Россияг rate: 1 approvalcode: meansubtype: Corporate Purchasing Card cardholder: TEST cardexpirationdate:12/20 ipaddress:
111.23.11.23 protocoltypename: testmode: 1 customermessage: Завершено
успешно. orderstate: Approved processingname: Name operationtype: 200 billnumber: 511111100000001.2 orderamount:
100.00 ordercurrency: RUB slipno: 111111 packetdate: 01.01.20112018 09:01:47 signature:

В формате XML:

...

Code Block
languagexml
<!ELEMENT billnumber (#PCDATA)>
<!ELEMENT orderamount (#PCDATA)>
<!ELEMENT ordercurrency (#PCDATA)>
<!ELEMENT slipno (#PCDATA)>
<!ELEMENT packetdate (#PCDATA)>
<!ELEMENT signature (#PCDATA)>
<!ELEMENT pareq (#PCDATA)>
<!ELEMENT acsurl (#PCDATA)>]>
 <result firstcode="0" secondcode="0" count="1"> 
<orders> <order> 
<ordernumber> 0001-01</ordernumber> 
<responsecode> AS000</responsecode> 
<recommendation> </recommendation> 
<message> Завершено успешно. </message> 
<ordercomment> тестовый платеж </ordercomment> 
<orderdate> 01.01.20112018 10:51:53</orderdate> 
<amount> 100.00 </amount> 
<currency> RUB </currency> 
<meantypename> VISA</meantypename> 
<meannumber> 411111****1111</meannumber> 
<lastname> Testov </lastname> 
<firstname> Test </firstname> 
<middlename> Testovich</middlename> 
<issuebank> BANK </issuebank> 
<email> test@testpost.ru </email> 
<bankcountry> Россия</bankcountry> 
<rate> 1 </rate> 
<approvalcode>  </approvalcode> 
<meansubtype> Corporate Purchasing Card</meansubtype> 
<cardholder> TEST </cardholder> 
<cardexpirationdate> 12/20 </cardexpirationdate>
<ipaddress> 10.23.10.23</ipaddress> 
<protocoltypename>  </protocoltypename> 
<testmode> 1 </testmode> 
<customermessage> Завершено успешно.</customermessage> 
<orderstate> Approved </orderstate>
<processingname> Name</processingname> 
<operationtype> 200</operationtype> 
<billnumber> 511111100000001.2</billnumber> 
<orderamount> 100.00</orderamount> 
<ordercurrency> RUB</ordercurrency> 
<slipno> 111111 </slipno>
<packetdate> 01.01.20112018 10:53:45</packetdate>
<signature> </signature> 
</order> </orders> 
</result>

...

Code Block
languagexml
<?xml version='1.0' encoding='utf-8' standalone='no'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>  
<SOAP-ENV:Body SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'>  
<ASS-NS:MakeChargeResponse xmlns:ASS-NS='http://www.paysecure.ru/message/'>  
<return xmlns:si='http://www.paysecure.ru/type/' xsi:type='si:SOAPStruct'> 
<ordernumber xsi:type='xsd:string'>0001-01</ordernumber>
<responsecode xsi:type='xsd:string'>AS000</responsecode>
<recommendation xsi:type='xsd:string'></recommendation>
<message xsi:type='xsd:string'>Завершено успешно.</message>
<ordercomment xsi:type='xsd:string'>тестовый платеж</ordercomment>
<orderdate xsi:type='xsd:string'>01.01.20112018 11:23:13</orderdate>
<amount xsi:type='xsd:string'>100.00</amount>
<currency xsi:type='xsd:string'>RUB</currency>
<meantypename xsi:type='xsd:string'>VISA</meantypename>
<meannumber xsi:type='xsd:string'>411111****1111</meannumber>
<lastname xsi:type='xsd:string'>Testov</lastname>
<firstname xsi:type='xsd:string'>Test</firstname>
<middlename xsi:type='xsd:string'>Testovich</middlename>
<issuebank xsi:type='xsd:string'>New Bank</issuebank>
<email xsi:type='xsd:string'>test@testpost.ru</email>
<bankcountry xsi:type='xsd:string'>Россия</bankcountry>
<rate xsi:type='xsd:string'>1</rate>
<approvalcode xsi:type='xsd:string'></approvalcode>
<meansubtype xsi:type='xsd:string'>Classic</meansubtype>
<cardholder xsi:type='xsd:string'>TEST</cardholder>
<cardexpirationdate xsi:type='xsd:string'>12/20</cardexpirationdate>
<ipaddress xsi:type='xsd:string'>11.23.11.23</ipaddress>
<protocoltypename xsi:type='xsd:string'></protocoltypename>
<testmode xsi:type='xsd:string'>1</testmode>
<customermessage xsi:type='xsd:string'>Завершено успешно.</customermessage>
<orderstate xsi:type='xsd:string'>Approved</orderstate>
<processingname xsi:type='xsd:string'>Name</processingname>
<operationtype xsi:type='xsd:string'>200</operationtype>
<billnumber xsi:type='xsd:string'>511111100000001.2</billnumber>
<orderamount xsi:type='xsd:string'>100.00</orderamount>
<ordercurrency xsi:type='xsd:string'>RUB</ordercurrency>
<slipno xsi:type='xsd:string'>111111</slipno>
<packetdate xsi:type='xsd:string'>01.01.20112018 11:28:26</packetdate>
<signature xsi:type='xsd:string'></signature>
</return> 
</ASS-NS:MakeChargeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>  

...