Versions Compared

Key

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

...

Multiexcerpt include
MultiExcerptNameslipno
PageWithExcerptБлоки документов

Expand
titleПример пакета результата в формате SOAP (для случая оплаты заказа средствами с карты и бонусными баллами – две успешных операции оплаты)
Code Block
languagexml
<?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:PushPaymentResult>
            <order>
              <merchant_id>744015</merchant_id> 
              <ordernumber>20120608-744015-001</ordernumber> 
              <billnumber>5744015100953130</billnumber> 
              <testmode>1</testmode> 
              <ordercomment>Sber 744015</ordercomment> 
              <orderamount>5000.00</orderamount> 
              <ordercurrency>RUB</ordercurrency> 
              <firstname>TestS</firstname> 
              <lastname>TestovS</lastname> 
              <middlename /> 
              <email>test@test.ru</email> 
              <orderdate>08.06.2012 07:09:01</orderdate> 
              <orderstate>Approved</orderstate> 
              <operation>
                <billnumber>5744015100953130.1</billnumber> 
                <operationtype>100</operationtype> 
                <operationstate>Success</operationstate> 
                <amount>3740.85</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>Classic</meansubtype> 
                <meannumber>411111****1111</meannumber> 
                <cardholder>TEST</cardholder> 
                <cardexpirationdate>12/20</cardexpirationdate>
                <issuebank>SAVINGS BANK OF THE RUSSIAN FEDERATION (SBERBANK)</issuebank> 
                <bankcountry>Россия</bankcountry> 
                <responsecode>AS000</responsecode> 
                <message /> 
                <customermessage>Завершено успешно.</customermessage> 
                <recommendation>SUCCESSFUL AUTHORIZATION</recommendation> 
                <approvalcode>X25932</approvalcode> 
                <protocoltypename>NET</protocoltypename> 
                <processingname>Fake</processingname> 
                <operationdate>08.06.2012 07:09:44</operationdate> 
                <authresult /> 
                <authrequired>0</authrequired> 
                <slipno></slipno>
              </operation>
              <operation>
                <billnumber>5744015100953130.2</billnumber> 
                <operationtype>100</operationtype> 
                <operationstate>Success</operationstate> 
                <amount>1259.15</amount> 
                <currency>RUB</currency> 
                <clientip>10.10.10.10</clientip> 
                <ipaddress>0.0.0.0</ipaddress> 
                <meantype_id>12</meantype_id> 
                <meantypename>Points</meantypename> 
                <meansubtype>Classic</meansubtype> 
                <meannumber>411111****1111</meannumber> 
                <cardholder>TEST</cardholder> 
                <cardexpirationdate>12/20</cardexpirationdate>
                <issuebank>SAVINGS BANK OF THE RUSSIAN FEDERATION (SBERBANK)</issuebank> 
                <bankcountry>Россия</bankcountry> 
                <responsecode>AS000</responsecode> 
                <message /> 
                <customermessage>Завершено успешно.</customermessage> 
                <recommendation>SUCCESSFUL AUTHORIZATION</recommendation> 
                <approvalcode>N/A</approvalcode> 
                <protocoltypename /> 
                <processingname>SberTest</processingname> 
                <operationdate>08.06.2012 07:10:51</operationdate> 
                <authresult /> 
                <authrequired /> 
                <slipno></slipno>
              </operation>
           </order>
           <packetdate>08.06.2012 07:11:04</packetdate> 
           <signature /> 
           <checkvalue>B739961F5CF27F9D90376B3B21517856</checkvalue> 
        </ws:PushPaymentResult>
    </soapenv:Body>
</soapenv:Envelope>