PaymentNotification


Click here for a complete list of operations.

IPNEventRaised

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 /PaymentNotification.asmx HTTP/1.1
Host: api.linkifier.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/IPNEventRaised"

<?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>
    <IPNEventRaised xmlns="http://tempuri.org/">
      <cDataRecordIPN>
        <PayTransactionID>string</PayTransactionID>
        <PayProviderID>long</PayProviderID>
        <SalesSiteID>long</SalesSiteID>
        <SalesSiteProductID>long</SalesSiteProductID>
        <CustomerID>long</CustomerID>
        <custopmerIP>string</custopmerIP>
        <PaymentDateTime>string</PaymentDateTime>
        <TransactionTypeID>int</TransactionTypeID>
        <PayProviderTransactionID>string</PayProviderTransactionID>
        <PayProviderAmount>double</PayProviderAmount>
        <PromoCode>string</PromoCode>
        <SaleDescription>string</SaleDescription>
        <SaleQuantity>int</SaleQuantity>
        <CustomReferrer>string</CustomReferrer>
        <Currency>string</Currency>
        <fraud_status>string</fraud_status>
        <message_type>string</message_type>
        <BuyerInfo>
          <PayerID>string</PayerID>
          <BusinessName>string</BusinessName>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <PayerEmail>string</PayerEmail>
          <Address>string</Address>
          <ContactPhone>string</ContactPhone>
          <ResidenceCountry>string</ResidenceCountry>
          <PayerStatus>string</PayerStatus>
        </BuyerInfo>
        <VerifyHASH>string</VerifyHASH>
      </cDataRecordIPN>
    </IPNEventRaised>
  </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>
    <IPNEventRaisedResponse xmlns="http://tempuri.org/">
      <IPNEventRaisedResult>
        <HasErrors>boolean</HasErrors>
        <ErrorCode>int</ErrorCode>
        <Message>string</Message>
        <ExtraMessage>string</ExtraMessage>
      </IPNEventRaisedResult>
    </IPNEventRaisedResponse>
  </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 /PaymentNotification.asmx HTTP/1.1
Host: api.linkifier.com
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>
    <IPNEventRaised xmlns="http://tempuri.org/">
      <cDataRecordIPN>
        <PayTransactionID>string</PayTransactionID>
        <PayProviderID>long</PayProviderID>
        <SalesSiteID>long</SalesSiteID>
        <SalesSiteProductID>long</SalesSiteProductID>
        <CustomerID>long</CustomerID>
        <custopmerIP>string</custopmerIP>
        <PaymentDateTime>string</PaymentDateTime>
        <TransactionTypeID>int</TransactionTypeID>
        <PayProviderTransactionID>string</PayProviderTransactionID>
        <PayProviderAmount>double</PayProviderAmount>
        <PromoCode>string</PromoCode>
        <SaleDescription>string</SaleDescription>
        <SaleQuantity>int</SaleQuantity>
        <CustomReferrer>string</CustomReferrer>
        <Currency>string</Currency>
        <fraud_status>string</fraud_status>
        <message_type>string</message_type>
        <BuyerInfo>
          <PayerID>string</PayerID>
          <BusinessName>string</BusinessName>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <PayerEmail>string</PayerEmail>
          <Address>string</Address>
          <ContactPhone>string</ContactPhone>
          <ResidenceCountry>string</ResidenceCountry>
          <PayerStatus>string</PayerStatus>
        </BuyerInfo>
        <VerifyHASH>string</VerifyHASH>
      </cDataRecordIPN>
    </IPNEventRaised>
  </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>
    <IPNEventRaisedResponse xmlns="http://tempuri.org/">
      <IPNEventRaisedResult>
        <HasErrors>boolean</HasErrors>
        <ErrorCode>int</ErrorCode>
        <Message>string</Message>
        <ExtraMessage>string</ExtraMessage>
      </IPNEventRaisedResult>
    </IPNEventRaisedResponse>
  </soap12:Body>
</soap12:Envelope>