• France
status page
Demo shops
assistance
FAQContact support
Search
Categories
Tags
Europe (English)
France
Spain
Europe (English)
India
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
SDD mandates by REST API
Snippets
Payment methods
Plugins
Marketplace
Guides
Merchant Back Office
Back Office Expert
Functional guides

Displaying the logo of the payment method in PrestaShop 1.7

Since version 1.7 of PrestaShop, the payment method logos are no longer displayed. We have therefore adapted to this new presentation.

If you wish to display the logo, you must modify the code of the module as follows:

  • Open the AbstractLyraPayment.php file located in /modules/lyra/classes/payment/
  • Go to approximately line 142 (public function getPaymentOption).
  • Remove the comment from the line containing setlogo (by removing //) and remove the ; on the previous line.

You will obtain:

$option->setCallToActionText($this->getTitle((int)$cart->id_lang))

->setModuleName(‘lyra’)

->setLogo(‘../modules/lyra/views/img/’.$this->getLogo());

Since version 1.11 of our module, this modification is no longer necessary since we have integrated it into the module.

Jobs
Legal
GDPR
25.20-1.11