Klarna Instant Shopping for WordPress


Klarna instant shopping for WordPress makes it possible for your customers to checkout directly from the WooCommerce product page or a regular WordPress page.



To install this plugin you first need to have either Klarna Checkout for WooCommerce or Klarna Payments for WooCommerce installed. You can find the links to this above. You install this plugin just like any other WordPress plugin:

  1. Download and unzip the latest release zip file.
  2. If you use the WordPress plugin uploader to install this plugin skip to step 4.
  3. Upload the entire plugin directory to your /wp-content/plugins/ directory.
  4. Activate the plugin through the ‘Plugins’ menu in WordPress Administration.


General settings

  1. Navigate to --> WooCommerce --> Klarna Instant Shopping.
  2. Debug logging - Tick this box to enable debug logging. The log file can be found by navigating to --> WooCommerce --> Status --> Logs.
  3. Button on product page - Select if you want the Instant shopping button to be displayed on all WooCommerce product pages or not.
  4. Button on cart page - Select if you want the Instant shopping button to be displayed on the WooCommerce cart page or not.

Button keys

  1. After you have saved the general plugin settings you can create a new Instant shopping button key.
  2. Click the Add button key button.
  3. A popup modal will open and here you enter:
    - Merchant ID
    - Secret
    - Environment (if the key is for playground or production - test or live servers)
    - Which country the button applies for
  4. Click the Create button key button.
  5. If the request to Klarna was ok a new Button ID key will be displayed in the list.

Display button on WooCommerce product page

The only thing needed to display the Instant shopping button on WooCommerce product pages is to set the Button on product page setting to Yes. The button will then be displayed above the Add to cart button.

Display button via shortcode

The button can also be displayed on a regular WordPress page via a  kiswp shortcode. The parameter needed to tie the button to a specific product is wc-product-id. The shortcode is then added in the following way:

[kiswp wc-product-id="922092"]

Replace 922092 with the actual product ID you want to tie the button to.

How to retrieve product ID

To get the product id for a product you can do the following:

  • Simple product
    Hover the product on the Products page in WooCommerce and you will see the ID.

  • Variable product
    Navigate to the product and click the Variations tab. The ID will then be displayed next to each variation.

Instant shopping button purchase flow

When a purchase is made via the Instant shopping button the order flow is the following:

  1. Customer clicks the Instant shopping button.
  2. The checkout is displayed in a popup modal window.
  3. Customer identifies herself.
  4. Information about the product, price, shipping method and selected payment method is displayed.
  5. The customer clicks the Complete your purchase button.
  6. The order is created in WooCommerce in the background (triggered by a API callback from Klarna).
  7. Customer is redirected to the order received page for the specific order.
  8. The order in WooCommerce is tagged as created_via klarna_instant_shopping.
  9. An order note is added with information about the purchase being made via Klarna Instant Shopping.


  • If customer country (calculated via WooCommerce's geo ip functionality) doesn't match store base country, the Klarna Instant Shopping button won't be rendered.
  • Postal number based shipping cost is currently not supported in the plugin.

Feature roadmap

Both Klarna Instant Shopping and the Klarna Instant Shopping for WordPress plugin is in active development. New features are introduced on an ongoing basis. The following features are currently planned:
  • Open the Instant Shopping modal window automatically if the customer is redirected to the product page from Instagram or Facebook.
  • Support for selling to multiple countries.
  • Support for theming the Instant Shopping button.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.