Setting up the Instant Payment Notification

In your PayZen 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 at the end of payment.

To set up this notification:

  1. Right-click Instant Payment Notification URL at the end of payment.
  2. Select Manage the rule.
  3. Enter the following URL in the fields URL to call in TEST mode and URL to call in PRODUCTION mode.: http://www.my-domain.com/payment_payzen/process

  4. Enter the E-mail address(es) to notify in case of failure.
  5. To specify several e-mail addresses, separate them with a semi-colon.
  6. Configure the 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 Implementation guideHosted Payment Page.
  7. Save the changes.
If the gateway is unable to access the URL of your page, an e-mail will be sent to the address specified in step 4.

It contains:

  • the HTTP code of the encountered error
  • parts of analysis depending on the error
  • its consequences,
  • instructions to resend the notification to the URL specified in step 3 from the PayZen Back Office .