Testing the Instant Payment Notification URL
In order to make sure that the Instant Payment Notification functions correctly, follow these steps:
- Make sure that your URL is available online: your shop must neither be in maintenance mode nor be protected by an .htaccess file.
- Make sure that your notification URL is available without any redirection.
- Make sure that the "Automatic redirection" option is disabled in the payment module settings.
- Check that the Instant Payment Notification URL at the end of payment is populated in the Expert Back Office (see above).
- Make an order on your website and proceed to payment.
- Do not click on "Return to shop" at the end of payment and close the current tab of your browser.
- Make sure that the order has been created in the OpenCart Back Office.
If the order has not been created in the OpenCart Back Office, this means that the call has failed.
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 Expert Back Office the notification to the URL already specified above.