Prevent duplicate form submissions by commenting out:
JSP
1
2
// $('#placeOrderForm1').submit();
Configuration
Configure Klarna Express Checkout in Backoffice
1.
Navigate to SAP Commerce Backoffice > Klarna > Klarna Express Checkout.
1.
Create a new Klarna Express Checkout configuration:
Fill in fields like Code, Placements, Theme, and Button Shape.
Save the configuration.
Map KEC to common configurations
1.
Go to Klarna > Common Configuration.
2.
Assign the newly created Klarna Express Checkout configuration under Klarna Express Checkout Configuration.
3.
Save the changes.
Note:
Ensure active Klarna Payments (KP) configuration exists for the same base store, as Klarna Express Checkout relies on Klarna Payments settings for order creation.
Klarna Express Checkout configuration fields
Attribute
Mandatory
Description
Code
Yes
Input any name/code. This will be the internal reference used to recognise and manage KEC configuration within SAP Commerce.
Active
Yes
Check to activate KEC configuration; leave unchecked for it to remain inactive.
Button Theme
No
Colour theme of the KEC button: default/light/dark