Once interoperability data is received, it can be used to determine the next steps in the payment flow
switch (interoperability.status) { case"PAYMENT_PENDING_CONFIRMATION": // Confirm Klarna payment immediately, otherwise, display and // select Klarna as a primary payment method break; case"PAYMENT_PREPARED": // Display and select Klarna as a primary payment method break; case"PAYMENT_UNSUPPORTED": // Don't show a Klarna button or offer Klarna break; case"PAYMENT_SUPPORTED": default: // Display Klarna as a payment method break; }
Returns interoperability information based on the provided token or by fetching the data from Klarna if token is missing.
Providing correct context is the key to ensure that customer journey is as smooth as possible.
Interoperability refers to the ability of Klarna's full product suite to work seamlessly across multiple integration paths.
To use Interoperability the resolve API should be called using the token provided by the Partner:
Once interoperability data is received, it can be used to determine the next steps in the payment flow