Instruction on how Klarna should be presented in the payment selector:
SHOW_ONLY_KLARNA
: The payment selector must show only Klarna and collapse all other options with a UX pattern implying that no choice needs to be made as it was done previously. This is returned when the customer has already approved the purchase or shown clear intent for paying with Klarna.PRESELECT_KLARNA
: The payment selector must pre-select Klarna and put it first as conversion will be increased. Klarna suggests collapsing all other payment methods. This is returned when the customer is recognized as a Klarna user and likely to pay with Klarna.SHOW_KLARNA
(default): Klarna should be available in the payment selector, respecting the ordering of the merchant and the Klarna guidelines.HIDE_KLARNA
: Don't show a Klarna button or offer Klarna.Payment button configuration.
Subheader configuration.
You can use either the subheader.enriched
or subheader.short
properties to set the subheader.
Enriched subheader configuration.
Short subheader configuration.
It's preferrable to use the paymentButton.component
to ensure the content is always up to
date.
If you use the header.text
property, make sure to listen to the presentationupdate
event
and update the text accordingly.
Header configuration. It's preferrable to use the
paymentButton.component
to ensure the content is always up to date. If you use theheader.text
property, make sure to listen to thepresentationupdate
event and update the text accordingly.