Versions Compared

Key

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

Instant Payment Notifications (IPN’s) will be fired in the following cases when the merchant has provided a NotificationURL in their getTransaction or doTransaction API call:

...

<PaymentNotification>
    <MerchantReference>MREF026</MerchantReference>
    <TransactionType>PAYMENT</TransactionType>
    <TransactionState>SUCCESSFUL</TransactionState>
    <ResultCode>00</ResultCode>
    <ResultMessage>Successful</ResultMessage>
    <PayUReference>80a0c8eb-fa63-40d3-94f0-8bdabc324932</PayUReference>
    <Basket>
        <Description>ADS026</Description>
        <AmountInCents>2100</AmountInCents>
        <CurrencyCode>ZAR</CurrencyCode>
    </Basket>
    <PaymentMethodsUsed>
        <CreditCard Information="Visa" NameOnCard=”Mr Soap” CardNumber=”522112xxxxxx1234” AmountInCents="10000" />
    </PaymentMethodsUsed>
    <IpnExtraInfo>
        <ResponseHash>7a06fe382948e97ad9207b8528d8c1f6847ac10d6230118ff9b3fb90eeaa4743</ResponseHash>
    </IpnExtraInfo>
    <Fraud>
        <ResultCode>V032</ResultCode>
        <ResultMessage>Case manager approved transaction</ResultMessage>
        <CaseManagerNote>I got hold of the user and verified</CaseManagerNote>
    </Fraud>
</PaymentNotification>

 

<PaymentNotification>

<MerchantReference>MREF026</MerchantReference>

<TransactionType>PAYMENT</TransactionType>

<TransactionState>SUCCESSFUL</TransactionState>

<ResultCode>00</ResultCode>

<ResultMessage>Successful</ResultMessage>

<PayUReference>80a0c8eb-fa63-40d3-94f0-8bdabc324932</PayUReference>

<Basket>

<Description>ADS026</Description>

<AmountInCents>2100</AmountInCents>

<CurrencyCode>ZAR</CurrencyCode>

</Basket>

<PaymentMethodsUsed>

<CreditCard Information="Visa" NameOnCard=”Mr Soap” CardNumber=”522112xxxxxx1234” AmountInCents="10000" >

</PaymentMethodsUsed>

<IpnExtraInfo>

<ResponseHash>7a06fe382948e97ad9207b8528d8c1f6847ac10d6230118ff9b3fb90eeaa4743</ResponseHash>

</IpnExtraInfo>

<Fraud>

<ResultCode>V032</ResultCode>

<ResultMessage>Case manager approved transaction</ResultMessage>

<CaseManagerNote>I got hold of the user and verified</CaseManagerNote>

...


</PaymentNotification>