order confirmation email can't load Mastercard SVG Icon, but it is ok for VISA and AMEX

becket
New Member
7 0 0

hi, I use the same code from default order confirmation email

<img align="left" src="{{ transaction.payment_details.credit_card_company | downcase | replace: ' ', '-' | payment_type_img_url }}" class="customer-info__item-credit" height="24">

It can show  VISA, AMEX very well, but can't show Mastercard.

Snipaste_2021-09-22_12-53-41.pngSnipaste_2021-09-22_13-16-52.png

 

 

0 Likes