Configuring the Instant Payment Notification URL
- Sign in to your PrestaShop Back Office.
- Go to the Modules menu > Module Manager.
- Search for the Lyra module.
- Click on Configure.
- Click on General configuration.
- Search for ACCESS TO THE PAYMENT GATEWAY.
- Copy the URL from the Instant Payment Notification URL parameter.
- Open another tab in your browser.
- Sign in to the Expert Back Office Lyra: https://secure.lyra.com/portal/.
- Go to Settings > Notification rules.
- Double click on Instant Payment Notification URL at the end of the payment.
- Check the Automatic retry in case of failure box.
- Search for the Instant Payment Notification URL of the API form V1, V2 section.
- Paste the previously copied URL to URL to call in TEST mode and URL to call in PRODUCTION mode.If the production URL is different from your test URL, specify it in order to not forget it later. Your URL should look like this:https://www.your-domain.com/modules/lyra/validation.php
- Click Save.
- Double click on Instant Payment Notification URL on cancellation.
- Carry out the same operation from step 12 to step 15.
- Double click on Instant Payment Notification URL on batch authorization.
- Carry out the same operation from step 12 to step 15.
- Double click on Instant Payment Notification URL on batch change.
- Carry out the same operation from step 12 to step 15.
- Double click on Instant Payment Notification URL on an operation coming from the Back Office.
- Carry out the same operation from step 12 to step 15.
- If the configured rules are marked by a red cross, select the rule and click on the Enable the rule button at the bottom of the screen.