Testing the 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 Merchant 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.
- In the WooCommerce > Orders menu, check that the order status is In progress.
If the order status remains Pending payment, 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 Merchant Back Office, the notification to the URL already specified above