Page History
...
An example of request result in SOAP format for the case of successful payment order at the second attempt, the first attempt was closed due to a timeout, and the second (successful) consists of two operations:
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.paysecure.ru/ws/"><soapenv:Body>
<ws:orderresultResponse><orderresult>
<order>
<ordernumber>13032014_122</ordernumber>
<billnumber>5500069208498005</billnumber>
<testmode>1</testmode>
<ordercomment>тестовый платеж</ordercomment>
<orderamount>331.39</orderamount>
<ordercurrency>RUB</ordercurrency>
<firstname>Test</firstname>
<lastname>Testov</lastname>
<middlename>T.</middlename>
<email>test@test.ru</email>
<orderdate>13.03.2014 13:38:24</orderdate>
<orderstate>Timeout</orderstate>
<packetdate>13.03.2014 14:55</packetdate>
<signature></signature>
<checkvalue>863F176DC699131758B2230EA93BC911</checkvalue>
</order>
<order>
<ordernumber>13032014_122</ordernumber>
<billnumber>5500069208498070</billnumber>
<testmode>1</testmode>
<ordercomment>тестовый платеж</ordercomment>
<orderamount>331.39</orderamount>
<ordercurrency>RUB</ordercurrency>
<firstname>Test</firstname>
<lastname>Testov</lastname>
<middlename>T.</middlename>
<email>test@test.ru</email>
<orderdate>13.03.2014 14:52:09</orderdate>
<orderstate>Approved</orderstate>
<packetdate>13.03.2014 14:55</packetdate>
<signature></signature>
<checkvalue>E458CD73F1AA3F994F4D97C40613FD0A</checkvalue>
<operation>
<billnumber>5500069208498070.1</billnumber>
<operationtype>100</operationtype>
<operationstate>Success</operationstate>
<amount>331.39</amount>
<currency>RUB</currency>
<clientip>10.10.10.10</clientip>
<ipaddress>0.0.0.0</ipaddress>
<meantype_id>1</meantype_id>
<meantypename>VISA</meantypename>
<meansubtype>Busines</meansubtype>
<meannumber>462710****4724</meannumber>
<cardholder>TEST</cardholder>
<cardexpirationdate>12/20</cardexpirationdate>
<issuebank>Bank</issuebank>
<bankcountry>RUS</bankcountry>
<responsecode>AS000</responsecode>
<message> </message>
<customermessage> </customermessage>
<recommendation></recommendation>
<approvalcode>X53576</approvalcode>
<protocoltypename>NET</protocoltypename>
<processingname>Fake</processingname>
<operationdate>13.03.2014 14:52:10</operationdate>
<authresult></authresult>
<authrequired>0</authrequired>
<slipno>111111</slipno>
<chequeitems>
{"items":[{"id":1,"price":"20.00","quantity":"3","amount":"60.00","tax":"vat10",
"product":"Sugar","name":"Sugar","fpmode":"1"},{"id":2,"price":"20.11","quantity":
"3.55","amount":"71.39","tax":"vat20","product":"Milk","name":"Milk",
"fpmode":"1"},{"id":3,"price":"200.00","quantity":"1","amount":"200.00",
"tax":"novat","product":"Butter","name":"Butter","fpmode":"3}]}
</chequeitems>
<threedsdata>
<version>1.0.0</version>
<alphaauthresult>C</alphaauthresult>
<challenge>C</challenge>
<eci></eci>
</threedsdata>
</operation>
<operation>
<billnumber>5500069208498070.2</billnumber>
<operationtype>200</operationtype>
<operationstate>Success</operationstate>
<amount>331.39</amount>
<currency>RUB</currency>
<clientip>10.10.10.10</clientip>
<ipaddress>0.0.0.0</ipaddress>
<meantype_id>1</meantype_id>
<meantypename>VISA</meantypename>
<meansubtype>Busines</meansubtype>
<meannumber>462710****4724</meannumber>
<cardholder>TEST</cardholder>
<cardexpirationdate>12/20</cardexpirationdate>
<issuebank>Bank</issuebank>
<bankcountry>RUS</bankcountry>
<responsecode>AS000</responsecode>
<message> </message>
<customermessage> </customermessage>
<recommendation></recommendation>
<approvalcode></approvalcode>
<protocoltypename></protocoltypename>
<processingname>Fake</processingname>
<operationdate>13.03.2014 14:53:37</operationdate>
<authresult></authresult>
<authrequired>0</authrequired>
<slipno>111111</slipno>
<chequeitems>
{"items":[{"id":1,"price":"20.00","quantity":"3","amount":"60.00","tax":"vat10",
"product":"Sugar","name":"Sugar","fpmode":"1"},{"id":2,"price":"20.11","quantity":
"3.55","amount":"71.39","tax":"vat20","product":"Milk","name":"Milk",
"fpmode":"1"},{"id":3,"price":"200.00","quantity":"1","amount":"200.00",
"tax":"novat","product":"Butter","name":"Butter","fpmode":"3}]}
</chequeitems>
<threedsdata>
<version>1.0.0</version>
<alphaauthresult>Y</alphaauthresult>
<challenge>C</challenge>
<eci>5</eci>
</threedsdata>
</operation>
</order>
</orderresult></ws:orderresultResponse></soapenv:Body></soapenv:Envelope> |