Setting up the Instant Payment Notification

In your Merchant Back Office, you must set up a URL that will be systematically called after a payment. It will inform the merchant website of the payment result even if your client has not clicked on return to the shop.

This parameter is called Instant Payment Notification URL at the end of payment.

To set up this notification:

  1. Right-click the Instant Payment Notification URL at the end of payment line.
  2. Select Enable the rule.
  3. Make a right click on Instant Payment Notification URL at the end of payment once again.
  4. Select Manage the rule.
  5. Enter the following URL in the fields URL to call in TEST mode and URL to call in PRODUCTION mode: http://www.your-domain.com/payment/payzen/ipn

  6. Enter the E-mail address(es) to notify in case of failure.
  7. To specify several e-mail addresses, separate them with a semi-colon.
  8. Set up the parameters for Automatic retry in case of failure.
    This option allows to automatically send notifications to the merchant website in case of failure (up to 4 times).
    For more information, see chapter Activating the automatic retry of the Hosted Payment Page Implementation guide.
  9. Save changes.
If the payment gateway is unable to access the URL of your page, an e-mail will be sent to the shop administrator.

It contains:

  • The HTTP code of the encountered error
  • Parts of error analysis
  • Its consequences
  • Instructions to resend from the Merchant Back Office the notification to the URL already specified above.