Instant payment notification

From Wikipedia, the free encyclopedia
Illustration of how IPN messages from PayPal works

Instant payment notification (IPN) is a method for online retailers to automatically track purchases and other server-to-server communication in real time. This allows E-commerce systems the opportunity to store payment transactions, order information and other sales internally. IPN messages can represent payment success or failures, order transaction status changes, accounting ledger information and many others depending on the payment gateway.[1]

The payments industry is an evolving market, technology like IPN and instant payment are now used in the retail market and in the domestic sphere, but they are expected to evolve into the corporate, business-to-business (B2B) segment and cross-border space. [2]

How it Works[edit]

IPN is used by merchant to automate backend functions related to: the end user account creation, order tracking, customer and merchant notifications related to acquired services. When an E-commerce system requests a resource from a payment gateway, like a new invoice or bill for goods, the request must contain a URL endpoint representing a script or program to handle returning notifications. IPN messages are then sent to the retailer's E-commerce system by HTTP POST as the resource is updated by the gateway. [3]

The IPN handler usually performs standard actions like validating the message, updating inventory levels in the E-commerce system, notifying customers of successful or failed payments, etc. Depending on the retailer's business requirements and the level of sophistication of the E-commerce software, some or all of the IPN messages can be handled or ignored. [4]

Server-side scripting languages such as PHP and ASP that power most E-commerce systems are event driven and make no distinction between a user-generated event or a machine-generated event. Utilizing this fact, IPN messages facilitate the coordination of the order state changes between the ecommerce system and the payment gateway handling the order. [1] [3]

See also[edit]


  1. ^ a b "Instant Payment Notification". PayPal. 2018. Retrieved September 8, 2018.
  2. ^ "Instant Payments". SWIFT. 2018. Retrieved September 8, 2018.
  3. ^ a b "Instant Payment Notifications (IPN)". WePay. 2018. Retrieved September 8, 2018.
  4. ^ "Handling Instant Payment Notification (IPN) messages". Amazon. 2018. Retrieved September 8, 2018.