Notify URL with IPN
Last updated
Last updated
Direct payment status notification is a back-end instant update mechanism that sends over the payment status notification from gateway directly to the merchant server or system, without relying on any user agent such as web browser or mobile application.
Notify URL script is similar to return URL script but, no output is required for front-end user interface. This is also known as background URL.
Step 1: Login to merchant admin and go to merchant profile, fill in the Notify URL. Notify URL with IPN can be activated for better merchant-payment system communication. Choose “Yes” to “Enable Notify URL with IPN”, as shown:-
Step 2: Merchant to prepare a Notify URL script, which is similar to return URL script.
Step 3: If IPN is disable please ignore this step. Merchants have to echo back all the POST variables with one additional variable, i.e. “treq” with value 1. PHP sample code is provided below.
nbcb
1 digit numeric
Always equal to 2, which indicates this is a notification from PG
amount
2 decimal points numeric value
The total amount paid or to be paid for Fiuu Cash payment request
orderid
alphanumeric, 32 characters
Invoice or order number from merchant system
tranID
integer, 10 digits
Unique transaction ID for tracking purpose
domain
alphanumeric, 32 chars
Merchant ID in PG system
status
2-digit numeric value
00 for Successful payment
11 for failed status
appcode
alphanumeric, 16 chars
Bank approval code. Mandatory for card payment. Certain channels return empty value.
error_code
alphanumeric
Refer to the Error Codes section.
error_desc
text
Error message or description.
skey
32 chars hexadecimal string
This is the data integrity protection hash string. Refer skey section for details.
currency
2 or 3 chars (ISO-4217) currency code
Default currency is IDR (indicating Indonesia Rupiah) for Indonesia channels
channel
predefined string in system
Channel references for merchant system
paydate
Date/Time( YYYY-MM-DD HH:mm:ss)
Date/Time of the transaction.
extraP*
optional (on request)
JSON encoded string or array
token: 16-digit card token for merchant to store for recurring MIT (merchant initiated transaction)
fraudscreen: 1-digit integer, i.e. 1=Unknown, 2=Passed, 3=Alert, 4=Suspicious, 5=Fraud
ccbrand: Visa, MasterCard, AMEX
cclast4: Last 4-digit of card number cctype: Credit, Debit, Prepaid
ProcessorResponseCode : Authorization response code
ProcessorCCVResponse : Credit Card validation response code
AvsStreet : Street validation status
AvsZip : Zip/Postcode validation status
AvsResponse : Association validation status
ECI : Electronic commerce indicator
*Note: Values are not URL encoded
URL: