Orders


Click here for a complete list of operations.

VerifyOrder

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WS2/Orders.asmx HTTP/1.1
Host: redirect.telepay.co.il
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.easyform.co.il/VerifyOrder"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <VerifyOrder xmlns="http://www.easyform.co.il/">
      <username>string</username>
      <password>string</password>
      <orderId>string</orderId>
    </VerifyOrder>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <VerifyOrderResponse xmlns="http://www.easyform.co.il/">
      <VerifyOrderResult>
        <ID xmlns="http://www.easyform.co.il">int</ID>
        <UniqueID xmlns="http://www.easyform.co.il">string</UniqueID>
        <FormID xmlns="http://www.easyform.co.il">int</FormID>
        <FormGUID xmlns="http://www.easyform.co.il">string</FormGUID>
        <FormName xmlns="http://www.easyform.co.il">string</FormName>
        <PhonePayment xmlns="http://www.easyform.co.il">boolean</PhonePayment>
        <Amount xmlns="http://www.easyform.co.il">decimal</Amount>
        <FixedPrice xmlns="http://www.easyform.co.il">decimal</FixedPrice>
        <CardNumber xmlns="http://www.easyform.co.il">string</CardNumber>
        <CardExpDate xmlns="http://www.easyform.co.il">string</CardExpDate>
        <CardHolderID xmlns="http://www.easyform.co.il">string</CardHolderID>
        <Response xmlns="http://www.easyform.co.il">int</Response>
        <TempRef xmlns="http://www.easyform.co.il">string</TempRef>
        <Token xmlns="http://www.easyform.co.il">string</Token>
        <Notes xmlns="http://www.easyform.co.il">string</Notes>
        <Status xmlns="http://www.easyform.co.il">string</Status>
        <ErrorMessage xmlns="http://www.easyform.co.il">string</ErrorMessage>
        <Deleted xmlns="http://www.easyform.co.il">boolean</Deleted>
        <Created xmlns="http://www.easyform.co.il">string</Created>
        <IPAddress xmlns="http://www.easyform.co.il">string</IPAddress>
        <ResultLink xmlns="http://www.easyform.co.il">string</ResultLink>
        <OrderFields xmlns="http://www.easyform.co.il">
          <OrderField>
            <ID>int</ID>
            <OrderID>int</OrderID>
            <FieldID>int</FieldID>
            <FieldName>string</FieldName>
            <FieldValue>string</FieldValue>
            <Price>decimal</Price>
            <Quantity>decimal</Quantity>
            <CatNo>string</CatNo>
          </OrderField>
          <OrderField>
            <ID>int</ID>
            <OrderID>int</OrderID>
            <FieldID>int</FieldID>
            <FieldName>string</FieldName>
            <FieldValue>string</FieldValue>
            <Price>decimal</Price>
            <Quantity>decimal</Quantity>
            <CatNo>string</CatNo>
          </OrderField>
        </OrderFields>
      </VerifyOrderResult>
      <amount>decimal</amount>
      <discount>decimal</discount>
      <tax>decimal</tax>
      <last4Digits>string</last4Digits>
      <currencyId>int</currencyId>
      <payments>int</payments>
      <creditPayments>boolean</creditPayments>
      <recurringMonths>int</recurringMonths>
      <createDate>dateTime</createDate>
      <response>int</response>
      <tempRef>string</tempRef>
    </VerifyOrderResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WS2/Orders.asmx HTTP/1.1
Host: redirect.telepay.co.il
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <VerifyOrder xmlns="http://www.easyform.co.il/">
      <username>string</username>
      <password>string</password>
      <orderId>string</orderId>
    </VerifyOrder>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <VerifyOrderResponse xmlns="http://www.easyform.co.il/">
      <VerifyOrderResult>
        <ID xmlns="http://www.easyform.co.il">int</ID>
        <UniqueID xmlns="http://www.easyform.co.il">string</UniqueID>
        <FormID xmlns="http://www.easyform.co.il">int</FormID>
        <FormGUID xmlns="http://www.easyform.co.il">string</FormGUID>
        <FormName xmlns="http://www.easyform.co.il">string</FormName>
        <PhonePayment xmlns="http://www.easyform.co.il">boolean</PhonePayment>
        <Amount xmlns="http://www.easyform.co.il">decimal</Amount>
        <FixedPrice xmlns="http://www.easyform.co.il">decimal</FixedPrice>
        <CardNumber xmlns="http://www.easyform.co.il">string</CardNumber>
        <CardExpDate xmlns="http://www.easyform.co.il">string</CardExpDate>
        <CardHolderID xmlns="http://www.easyform.co.il">string</CardHolderID>
        <Response xmlns="http://www.easyform.co.il">int</Response>
        <TempRef xmlns="http://www.easyform.co.il">string</TempRef>
        <Token xmlns="http://www.easyform.co.il">string</Token>
        <Notes xmlns="http://www.easyform.co.il">string</Notes>
        <Status xmlns="http://www.easyform.co.il">string</Status>
        <ErrorMessage xmlns="http://www.easyform.co.il">string</ErrorMessage>
        <Deleted xmlns="http://www.easyform.co.il">boolean</Deleted>
        <Created xmlns="http://www.easyform.co.il">string</Created>
        <IPAddress xmlns="http://www.easyform.co.il">string</IPAddress>
        <ResultLink xmlns="http://www.easyform.co.il">string</ResultLink>
        <OrderFields xmlns="http://www.easyform.co.il">
          <OrderField>
            <ID>int</ID>
            <OrderID>int</OrderID>
            <FieldID>int</FieldID>
            <FieldName>string</FieldName>
            <FieldValue>string</FieldValue>
            <Price>decimal</Price>
            <Quantity>decimal</Quantity>
            <CatNo>string</CatNo>
          </OrderField>
          <OrderField>
            <ID>int</ID>
            <OrderID>int</OrderID>
            <FieldID>int</FieldID>
            <FieldName>string</FieldName>
            <FieldValue>string</FieldValue>
            <Price>decimal</Price>
            <Quantity>decimal</Quantity>
            <CatNo>string</CatNo>
          </OrderField>
        </OrderFields>
      </VerifyOrderResult>
      <amount>decimal</amount>
      <discount>decimal</discount>
      <tax>decimal</tax>
      <last4Digits>string</last4Digits>
      <currencyId>int</currencyId>
      <payments>int</payments>
      <creditPayments>boolean</creditPayments>
      <recurringMonths>int</recurringMonths>
      <createDate>dateTime</createDate>
      <response>int</response>
      <tempRef>string</tempRef>
    </VerifyOrderResponse>
  </soap12:Body>
</soap12:Envelope>