When a payment is made or refunded, Payplug immediately sends a message to your store's server to inform it. This message is called a payment notification, or IPN for Instant Payment Notification.
This is what allows your store to update the order status.
Key takeaway: payment processing and notification delivery are two separate mechanisms. A payment can be successfully collected even if the notification fails. In this case, the funds are safely in your Payplug account, but your order status does not change.
If you are using one of our e-commerce modules
You do not need to configure anything. The module itself tells Payplug where to send the notifications and updates your orders upon receiving them.
If you receive a notification error email, you can read the article What to do in case of a notification error?
If you built a custom technical integration
The notification is sent via POST, in JSON format, to the URL you provided when the payment was created.
Never rely solely on the received payload to update an order. With every notification, query our API to retrieve the actual payment status: this is the only way to ensure the update is based on authentic information.
Implementation details can be found in our technical documentation.