Push

For each completed transaction process, a notification is sent asynchronously to the defined notification URL. The notification is sent with the POST HTTP method and contains the standard response parameters. During a transaction, you can receive several notifications with different status. This means that a transaction can, in very rare cases, change from status “failed” to “captured”. On the other side, if a transaction is set to “captured”, it cannot come back to “failed” or “pending”. Pay close attention to credit your customers once even if you receive a “captured” status multiple times. For various reasons, sometimes the push notification does not lead to your server. This is never 100% reliable. We recommend in this case to exceptionally use the pull method to fetch yourself the status of a transaction if you do not get a notification after several minutes.

For push feature, please provide us URL from your system.

632

If the IPN cannot be delivered to you URL, We will try to re-send the IPN in one hour. This is processing for ten times.Basically, we will try to send the IPN ten times in ten hours.

Security

We highly recommend that integrate IPN integration and accept only our IP requests to your end point

❗️

Test environment

IP ADDRESS : 35.187.167.26
IP ADDRESS : 35.205.153.149
IP ADDRESS : 35.195.39.227

❗️

Live environment

IP ADDRESS : 35.233.71.4
IP ADDRESS : 104.155.117.86
IP ADDRESS : 35.189.219.45

Checksum

We highly recommend to control checksum with IPN call. You will receive token with IPN request this token will be hashed

secretKey apiKey code status amount currency referenceNo timestamp

<?php
$request = $_REQUEST;
$secretKey = 'YOUR_SECRET';

function generateToken($request, $secretKey) {
    $rawHash = $secretKey . $params['apiKey'] . $params['code'] . $params['status'] . $params['amount'] . $params['currency'] . $params['referenceNo'] . $params['timestamp'];
    return md5( $rawHash );
}

Successful request from IPN

Parameter nameDetailsExampleTypeIs Required
codeMeaningful response code for merchant system02 - Response Code ListString
statusThe API request status.APPROVED - Status ListChar 64
messageStatus messageAuth3D is APPROVEDChar 256
typeTransaction typePlease Check TypesChar 256
operationTransaction operationPlease Check OperationsChar 256
referenceNoYour own transaction identifier.1-1386413490-0089-14Char 32
transactionIdOur unique transaction identifier.9-1438782271-1Char 32
amountAmount in cents of the transaction1234 (12.34 € for example)Int
currencyThe currency of the transaction.EURChar 3
paymentMethodCustomer Payment MethodVISA - Supported payment methodsChar 32
timestampDate and time1533543919
tokenCode generated98ca055ed2797f53c5144f4Char 34
creditCardThe credit card information.Please Check Creditcard
storedCardIdOnly sent if the card stored by merchant for supported payment methods6-1474539891-0-1Char 32

Creditcard

Parameter nameDetailsExampleType
numberMasked Credit Card pan number401288XXXXXX1881Char 32
expiryMonthThe card expiration month.12Int 2
expiryYearThe card expiration year2019Int 4
emailCustomer email address.[email protected]Char 256
birthdayThe customer birth date.1970-01-01YYYY-MM-DD
billingFirstNameFirst name of the customer.JohnChar 64
billingLastNameLast name of the customer.DoeChar 64
billingAddress1The customer address 1.26 green streetChar 128
billingCityThe customer city.ParisChar 64
billingPostcodeThe customer zip code.75001Char 16
billingCountryThe customer state.FRChar 2

Status Codes

  • APPROVED (Purchase successfully received)
  • DECLINED (Purchase declined because of acquirer reasons)
  • CANCELED (Transaction canceled by customer)
  • PENDING (Customer did not select any payment and try to purchase or canceled)
  • WAITING (Async payment methods, result will be inform by push method. Bank Transfer, Withdraw, Mobile Banking)
  • ERROR (System Throws Exception)

Transaction Operations

  • 3DAUTH (3D Purchase)
  • DIRECT (Direct Purchase)
  • STORED (Stored Purchase)
  • REFUND (Refund)

Transaction Types

  • AUTH (Auth Transaction)
  • PREAUTH (Preauth Transaction)

Did this page help you?