Configuring the Instant Payment Notification URL
- Sign in to the Shopware Back Office.
- Click on Settings menu.
- Click on Extensions in the left-hand menu.
- Click Lyra to access the module configuration.
- Search for REST API keys section.
- Copy the URL from the REST API Instant Payment Notification URL parameter
- Sign in to the Expert Back Office Lyra: https://secure.lyra.com/portal/.
- Go to Settings > Notification rules.
- Double click IPN URL at the end of payment.
- Check the Automatic retry in case of failure box.
- Search for the REST API Instant Payment Notification URL part.
- Paste the previously copied URL to Target URL of the IPN to call in TEST mode and Target URL of the IPN 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/lyra/finalizeRest
- Click Save.
- Double click Instant Payment Notification URL on cancellation and follow the steps 10 to 13.
- Double click Instant Payment Notification URL on batch change and follow the steps 10 to 13.
- Double click Instant Payment Notification URL on batch authorization and follow the steps 10 to 13.
- 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.