Integration of the Hosted Payment Page
Technically, HPP is a companion service to Klarna Payments or Klarna Checkout, which can both be referred as a Payment Provider. You will have to integrate one of these APIs to create a Payment Session, and then use HPP to deliver the Payment experience to your consumers.
A complete payment session will involve three of Klarna services:
- Klarna Payments or Klarna Checkout - Payment API to integrate to start a Payment session: KP Session or KCO Order.
- Hosted Payment Page - API to distribute the Payment session to your Consumer.
- Order Management - Order API to capture payment or refund the order that was created.
A different integration guide is available for both platforms.
The overall integration sequences between the backend of the integrator, the Consumer and Klarna depends on the use case (ie eCommerce, In-store or Telesales) as all interactions depend on the distribution mechanism and how the status of the HPP Session is read.
This diagram shows the common step between these integrations. Also, depending if it is a Klarna Checkout or Klarna Payments integration, calls will be different.
HPP Generic Integration Sequence