Can't figure out why Discover Icon doesn't show

Hi All,

I have Amazon payments and Paypal as payment options and customers can pay with their credit cards through Paypal. The icons seen at the bottom footer of my website appear automatically, but Discover is also accepted. It doesn’t show the Discover icon though. When looking at the code, I see the discover icon is in there, but the system leaves it out for some reason.

What can I do to get the Discover icon included down there?

{% if section.settings.show_payment_icons %}
{% unless shop.enabled_payment_types == empty %}
{% assign payment_icons_available = 'amazon_payments,american_express,apple_pay,bitcoin,cirrus,dankort,diners_club,discover,dogecoin,dwolla,forbrugsforeningen,interac,jcb,litecoin,maestro,master,paypal,visa' | split: ',' %}

{% for type in shop.enabled_payment_types %}
{% if payment_icons_available contains type %}
- {{type | replace: '_',' '}}

{% endif %}
{% endfor %}

{% endunless %}
{% endif %}

cherylfoh_0-1616796086738.png

Hi @cherylfoh ,

Did you enable Discover methods on your site? If you haven’t done that, the discover icon can not show on your site.

Hope this helps!

Thanks. I will dig around in the settings and will post back later.

So after looking at the settings, there was no reason for the Discover icon not to show. We don’t have Shopify Payments enabled, so there are no options for selecting the accepted payment methods. In my theme settings, there is an option to turn the payment icons on or off, but no way to select them individually. It is an interesting dilemma. If you find other settings that control the payment icons, let me know and I will try it.

As a work-around, I used the tutorial at this site: https://shopify.dev/tutorials/customize-theme-add-credit-card-icons

Now I have complete control over which payment icons show.

Thanks,

Cheryl