PaylineByMonext / payline-magento-2

Payline module for Magento 2
6 stars 3 forks source link

Payment method logotypes not shown with redirect integration #9

Open yanncharlou opened 6 years ago

yanncharlou commented 6 years ago

CETELEM logotypes are broken in redirect integration mode.

Taking a look in the file : vendor/monext/module-payline/Model/Method/WebPayment/CptConfigProvider.php it seems logotype are not set.

public function getCardTypeImageFileNames()
    {
        return [
            PaylineApiConstants::PAYMENT_CONTRACT_CARD_TYPE_CB => 'cb.png',
            PaylineApiConstants::PAYMENT_CONTRACT_CARD_TYPE_CB_3DS => 'cb.png',
            PaylineApiConstants::PAYMENT_CONTRACT_CARD_TYPE_PAYPAL => 'paypal.png',
            PaylineApiConstants::PAYMENT_CONTRACT_CARD_TYPE_AMEX => 'amex.gif',
        ];
    }