Adding the buyer wallet on Prestashop
An e-wallet allows a buyer to store several payment cards and to choose which one to use when making a purchase, without having to enter the card number.
Bank details are stored by the payment gateway, in compliance with the rules imposed by the GDPR (= General Data Protection Regulation).
IMPORTANT: Make sure you have set up your REST API keys correctly before you start. This setup is described in the Quick module configuration > Integrating the embedded payment of the documentation.
To integrate the buyer wallet:
- Sign in to your PrestaShop Back Office.
- Go to the Modules menu > Module Manager.
- Search for the Lyra module.
- Click on Configure.
- Click on Standard payment.
- Search for the Entry mode for payment method data parameter and select one of the modes below:
- Payment fields embedded on the merchant website (REST API).
- Smartform embedded on the merchant website (REST API).
- Extended Smartform embedded on the merchant website with logos (API REST).
- Extended Smartform embedded on the merchant website without logos (REST API).
- Search for the Payment by token parameter and select Yes.
- Search for the Use buyer wallet to manage tokens parameter, then select Yes.
- Save your changes.
Granting or removing the buyer’s right to terminate their token:
- Sign in to the Expert Back Office.
- Go to Settings > Company.
- Click the Subscription, token and wallet tab.
- Search for Buyer wallet parameter.
- By checking the Logical removal of the token by the buyer box, the buyer can freely terminate his aliases.If the box is unchecked, a message will be displayed to the buyer requesting cancellation from the merchant.
- Click the Save button at the bottom of the screen.
WARNING: If a buyer’s token is associated with a subscription, the current subscription will be cancelled. It is therefore not recommended to enable the Logical token deletion by the buyer option.