IPN Receipt Verification vs POS Integration: How Online Payment Confirmation Really Works

IPN Receipt Verification vs POS Integration: How Online Payment Confirmation Really Works

When a customer pays on your website, the payment itself is only half the story. The other half is confirmation: how does your website know, with certainty, that the money actually arrived? Two very different mechanisms answer that question in different contexts: IPN receipt verification for online payments, and POS terminal integration for in-person card payments. They solve a similar problem, but they work in completely different ways, and mixing them up is one of the most common integration mistakes.

This guide explains how each one works, when each applies, and how SwichPay verifies online payments so that an order is only trusted after its payment has been properly confirmed.

How IPN Receipt Verification Works

IPN stands for Instant Payment Notification. It is a server-to-server message that a payment gateway sends to your website when something happens to a payment: it succeeds, it fails, it is refunded, or its status changes. Your website provides a notification URL, sometimes called a webhook or callback URL, and the gateway calls that URL with the payment details.

The important detail is that an IPN is a claim, not proof on its own. Anyone who knows your notification URL could send a fake request to it and pretend a payment succeeded. That is why verification matters. With SwichPay, every IPN carries an HMAC-SHA256 signature computed from the notification data and your secret key. Your server recomputes the signature and compares it with the one sent. If they match, the notification genuinely came from SwichPay and its contents are unchanged. If not, reject it, no matter how convincing it looks.

There is a second rule that matters just as much: never trust a return-page redirect alone. When a customer finishes paying, the gateway usually sends them back to your website with a success message in the browser. That redirect passes through the customer’s browser, so it can be faked, replayed, or interrupted if the customer closes the tab. Treat the redirect as a courtesy for the customer, and treat the verified IPN as the real confirmation that releases the order.

How POS Terminal Integration Works

A POS terminal is the physical card machine at a shop counter. POS integration connects that terminal to a point-of-sale system so that the sale amount flows from the till to the terminal automatically, the customer taps or inserts a card, and the result flows back into the sales record without anyone typing the amount twice.

The confirmation model here is completely different. The terminal talks to the card network and the acquiring bank over its own secure channel, and the approval comes back through that same channel within seconds. There is no browser redirect and no webhook. The receipt printed by the terminal is the record of the transaction, and the till marks the sale as paid when the terminal reports an approval code.

POS integration suits any business where payment happens face to face: retail shops, restaurants, clinics, and service counters. It speeds up the counter and removes keying errors, because the amount goes to the terminal automatically.

IPN Verification vs POS Integration: When Each One Applies

The deciding factor is where the customer pays. If the customer pays on your website or in your app, you need IPN verification. If the customer pays in person at your counter, you need POS integration. Many businesses need both, but they are separate systems that confirm payments in separate ways.

  • Online checkout: the customer pays through hosted checkout or an API integration, and the gateway confirms the result with a signed IPN to your server.
  • In-store sale: the customer pays at the terminal, and the terminal confirms the result to your till over its own connection.
  • Order release: online, an order should only ship or activate after a verified IPN; in store, the goods change hands once the terminal approves.
  • Failure handling: online, a failed IPN signature means the payment is not trusted; in store, a declined card means asking for another payment method on the spot.

One mistake to avoid is marking orders as paid when the customer returns to the success page. That shortcut works in testing and fails in production, because real customers close tabs and lose connections. Verified IPNs exist precisely to close that gap.

How SwichPay Verifies IPNs

SwichPay confirms online payments through signed IPNs. When a payment status changes, SwichPay sends a notification to the URL you configured, and each notification includes an HMAC-SHA256 signature. Your integration should verify that signature on every notification before acting on it, then check the payment status and amount against the order in your own database.

For a full walkthrough of the notification flow, see our payment gateway IPN and webhook guide, and for the exact request and response formats, see the SwichPay API documentation. If you use the WooCommerce, WordPress, or WHMCS plugin, signature verification is handled for you, but knowing the flow helps when a customer says they paid and your store still shows the order as pending.

Frequently Asked Questions

What is IPN receipt verification?

IPN receipt verification is the process of confirming that a payment notification genuinely came from your gateway. Your server checks the notification’s HMAC signature against your secret key before trusting the payment status it reports.

Can I confirm a payment from the success page redirect alone?

No. The redirect passes through the customer’s browser and can be faked or interrupted. Always confirm online payments with a verified IPN before releasing an order.

Do I need POS integration for an online store?

No. POS integration is for in-person card payments at a physical counter. An online store needs IPN verification instead, and a business with both a shop and a website needs each system for its own channel.

#IPN receipt verification#POS integration#payment confirmation#HMAC signature verification#SwichPay IPN guide

Start accepting payments with SwichPay

Open a merchant account, connect your website with one API and get notified the moment a customer pays.