Payment type logos are not market-specific, despite docs saying so

Short description of issue

Returned payment types on shop.enabled_payment_types are not market-specific (despite docs saying so)

Reproduction steps

  1. Liquid as below:
<pre>
Customer's country: {{ localization.country.iso_code }}
----<br>
{%- for type in shop.enabled_payment_types -%}
  {{ type }}
{%- endfor -%}
</pre>
  1. Observe the results which will include payment types not compatible with the user’s currently selected market and/or currency.

For example, doing this on a store with a United Kingdom market, we see the following output.

Customer's country: GB
----
american_express
apple_pay
bancontact
diners_club
discover
google_pay
ideal
maestro
master
paypal
shopify_pay
unionpay
visa

iDEAL is not a valid payment method in the United Kingdom (it’s used in the Netherlands), amongst others. These should not appear in shop.enabled_payment_types according to the documentation.

Additional info

Docs (Liquid - shop.enabled_payment_types):

“The payment types are based on the store’s enabled payment providers and the customer’s current region and currency.”

What type of topic is this

Bug report

1 Like