It’s now time to render the confirmation snippet.
Get the value of the
html_snippet from the read order call response and embed it into your page where you would like the confirmation iframe to be shown.
Note: The confirmation page will only be rendered for 2h after the order has been completed. Do not include it anywhere else than the confirmation page.
There are two recommended ways of embedding the HTML snippet, server side or client side.
Embed the HTML snippet in your page served by your backend.
The snippet will render the confirmation iframe so this is what you should see in your browser:
Well done, you have successfully integrated Klarna checkout and displayed the confirmation page!
To have a fully functional integration you need to read through: