This module allows to partially or fully refund an order via Magento and to automatically perform the operations required for the associated transaction in Lyra.
The orders paid in installments by bank card must be refunded directly via the Expert Back Office.
The Lyra offer allowing the use of Web Service "standards" must be enabled for this option.
To perform a refund:
- In the menu Sales > Invoices > Select the order for refund.
- Click on the Credit Memo button.
- Enter the number of items and the amount for the refund and click on the Refund button.The module generates a getPaymentDetails request to obtain the status of the transaction.Depending on the result, it triggers a call:
- updatePayment to lower the transaction amount before capture in the bank
- cancelPayment to cancel the transation before capture in the bank
- refundPayment to fully or partially refund the transaction.
- The order is automatically updated in Magento.