Guidance on enabling Klarna using Paytrail APIs and the different integration path available: Hosted Payment Page or building a custom payment selector form with Klarna APIs.
To ensure a robust, seamless, and customer-friendly Klarna integration through Paytrail, it is essential to follow a set of best practices. This checklist will help you finalize your Klarna setup using Paytrail APIs and prepare for go-live with full functionality and compliance.
Upload your logo - ensure the assets meet Klarna’s format and resolution requirements.
Also, keep the Marketing Name under your Paytrail merchant account up to date in the Paytrail Merchant Panel. Your customers will see this Marketing Name in Klarna's purchase journey.
Ensure to include items in your Paytrail /payments call.
Ensure consistency across your systems and communications with customers by sharing your customer-facing order ID. To achieve this, utilize Paytrail's reference field when making the Paytrail /payments call.
Share the Supplementary Purchase Data via providerDetails.klarna.networkData in Paytrail's /payments call, which is a serialized JSON object that follows Klarna’s Interoperability Data Schema.
Also provide customer details such as email, firstName, lastName, phone, deliveryAddress and invoicingAddress.
You will receive a klarna_network_session_token from Klarna when the customer interacts with services powered by Klarna Web SDK, such as Klarna On-site Messaging, Sign in with Klarna, or Express Checkout.
If klarna_network_session_token is available, include it under providerDetails.klarna.networkSessionToken in Paytrail's /payments call