Once the installation script is in place, you can add On-site Elements to your pages. This guide shows how to use the Payment Method Display element as an example.
Each On-site Element is an HTML tag. Place it where you want the element to appear. The installation script detects the tag and renders it automatically. Let's integrate a simple element like the kustom-payment-method-display which shows a horizontal list of payment methods.
<kustom-payment-method-display locale="en-SE"></kustom-payment-method-display>and that should be enough to see the payment methods in your store.

All On-site Elements require a locale attribute in the 5-character language-COUNTRY format. The following locales are supported:
| Locale | Language | Country |
|---|---|---|
cs-CZ | Czech | Czech Republic |
da-DK | Danish | Denmark |
de-CH | German | Switzerland |
de-DE | German | Germany |
en-AT | English | Austria |
en-AU | English | Australia |
en-BE | English | Belgium |
en-CA | English | Canada |
en-DE | English | Germany |
en-DK | English | Denmark |
en-FI | English | Finland |
en-FR | English | France |
en-GB | English | Great Britain |
en-NL | English | Netherlands |
en-NO | English | Norway |
en-SE | English | Sweden |
en-US | English | United States |
es-ES | Spanish | Spain |
es-US | Spanish | United States |
fi-FI | Finnish | Finland |
fr-BE | French | Belgium |
fr-CA | French | Canada |
fr-CH | French | Switzerland |
fr-FR | French | France |
it-IT | Italian | Italy |
nb-NO | Norwegian (Bokmål) | Norway |
nl-BE | Dutch | Belgium |
nl-NL | Dutch | Netherlands |
pl-PL | Polish | Poland |
pt-PT | Portuguese | Portugal |
sv-FI | Swedish | Finland |
sv-SE | Swedish | Sweden |
If an unsupported locale is provided, the element will fall back to English.
- Payment Method Display — Full reference for this element