FILTER BY TAG

Inline Session Workflow

This workflow describes the sequence of events that comprises a successful payment using a Klarna widget.
For information about how to install the Klarna widget, see Widget Installation for Inline Workflow.

Figure:

Klarna Inline Workflow
  1. The customer begins to checkout on the merchant website using the displayed Klarna widget.
  2. The merchant sends an inline session API request to
    Cybersource
    . For more information, see Creating an Inline Session.
    If the customer changes their purchase selection after the merchant sends the session API request, the merchant must send an update session API request. For more information, see Updating a Session.
  3. Cybersource
    responds to the merchant with the
    INITIATED
    status and a pre-approval token.
  4. The merchant sets the
    Session Token ID
    in the Klarna widget to the pre-approval token.
  5. The customer completes checkout using the Klarna widget, and the Klarna widget generates a unique authorization token.
  6. The merchant sends an authorization API to
    Cybersource
    request and includes the unique authorization token the Klarna widget displayed. For more information, see Authorize a Payment.
  7. Cybersource
    responds to the merchant with the
    AUTHORIZED
    status and a request ID.
  8. The merchant sends a capture API request with the request ID. For more information, see Capture a Payment.
  9. Cybersource
    responds to the merchant with the
    SETTLED
    status and a request ID.
  10. The merchant displays a payment confirmation to the customer.