Versions Compared

Key

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

...

Пример пакета в случае успешного получения и расшифровки сообщения о результате платежа:

Code Block
languagexml
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="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>
  <m:PushPaymentResultResponse xmlns:m="http://www.assist.ru/wsdl">
  <return xmlns:si="http://www.assist.ru/type/" xsi:type="si:SOAPStruct">
    <billnumber>5696145241469255.1</billnumber>
    <packetdate>26.06.2019 08:44:00</packetdate>
  </return>
  </m:PushPaymentResultResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

В случае неудачи:

Code Block
languagexml
<?xml version="1.0" encoding="windows-1251"?>
    <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/">
            <SOAP-ENV:Fault>
                <faultcode>5</faultcode>
                <faultstring>143</faultstring>
                <detail />
     <?xml version="1.0" encoding="UTF-8"?> 
<pushpaymentresult firstcode="0" secondcode="0">
 <order>
  <billnumber>value</billnumber>
  <packetdate>value</packetdate>       </SOAP-ENV:Fault>
          
 </order>
</pushpaymentresult>

В случае неудачи:

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?> 
<pushpaymentresult firstcode="value" secondcode="value">
</pushpaymentresult>SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

С описанием первого и второго кодов автоматизированных интерфейсов можно ознакомиться в  Таблице "Коды автоматизированных интерфейсов".

...