Integration via Lyra
WARNING: To be able to use this feature, you must enable the subscription option in your Lyra shop.
To integrate subscriptions:
- Sign in to the Wordpress Back Office.
- Go to WooCommerce > Settings.
- Click the Payments tab.
- Click Lyra - Payment by subscription.
- Check the Enable / Disable box.
- Select the solution used by your site to manage subscriptions via the Subscription management parameter.
- Modify the other parameters if necessary.
- Save your changes.
You also must configure the Instant Payment Notification URL upon creation of a recurring payment:
Via the WordPress Back Office:
- Go to the WooCommerce menu > Settings.
- Click the Payments tab.
- Click Lyra - General configuration.
- Search for ACCESS TO THE PAYMENT GATEWAY.
- Copy the URL from the Instant Payment Notification URL parameter.
Via the Expert Back Office Lyra:
- Sign in with your https://secure.lyra.com/portal/ identifiers.
- Go to Settings > Notification rules.
- Double click Instant Payment Notification URL at the end of 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/?wc-api=WC_Gateway_Lyra
- Click Save.