Klarna Shipping - Introduction
Klarna Shipping Assistant is a plugin that extends WooCommerce with the possibility to display Shipping options within Klarna Checkout An agreement for Klarna Checkout is required
- WooCommerce 4.0 or newer is required.
- PHP 7.3 or higher is required.
- A SSL Certificate is required.
Installation
After purchasing the plugin from https://redlight.se you will receive an order confirmation that contains a link to the plugin. Clicking the link will download the plugin zip-file.
- Login to WordPress Admin. Navigate to → Plugins → Add New (in the left column menu).
- Click Upload Plugin and then browse to the plugin zip-file on your computer. Click on OK and finally click on the Install Now button.
- Activate the plugin.
Edit .htaccess
For the Klarna API calls to work, you need to edit the .htaccess file in webhosting.
Follow our instructions here: https://docs.redlight.se/article/50-klarna-shipping-edit-htaccess
If this step is skipped, the integration will NOT work
General Settings
- Go to: WooCommerce → Settings → Klarna Shipping Assistant →
- License-Key - Enter the license-key that you received when purchasing the plugin from Redlight media.
- Deactivate this license - If you check this checkbox, the license will deactivated for this domain, causing updates to not work.
- KSS Username / Identifier – Enter the ID received from Redlight when getting onboarded to KSA
- KSS Key / Secret - Enter the Secret ID received from Redlight when getting onboarded to KSA
- Deadline - Enter a timestamp when your shipping deadline is
- Test mode - Flags all shipments as test-shipments.
- Enable debug log - This logs actions that are send to Klarna, logs are found via WooCommerce → Status → Logs
Shipping Method Settings
- Go to: WooCommerce → Settings → Shipping → Shipping zones
- Click on the zone you want to edit
- Select the shipping method you want to display in KCO, click edit
- You should now see a list on Klarna Shipping settings for the selected method.
Klarna Shipping Options
- Shipping Carrier - The carrier partner that is used for the shipment method, this controls what logo is displayed
- Shipping Type - Select the type of delivery that is being used. This controls the displayed name of the delivery option.
- Shipping Class - Enter the shipping class
- Delivery Time deadline - If the shipping method has a different delivery deadline other then the global deadline.
- Delivery Time Earliest - Controls how delivery time is diplayed, enter number in working days.
- Delivery Time Latest - Controls how delivery time is diplayed, enter number in working days.
- Locations - If locations should be displayed
- Location Service - What service should be used to fetch locations
Klarna Shipping Features
- Recommended - Displays a badge that the shipping method is recommended
- Eco Friendly - Displays a badge that the shipping method is Eco Friendly
- Carbon Compensated - Displays a badge that the shipping method is carbon compensated
- Evening - Displays a badge that the shipping method is an evening delivery
- Express - Displays a badge that the shipping method is express shipment
- Learn More - Displays a link with 'Learn more'
- Learn More URL - URL used for the above option
- Size Guide - Displays a link to 'Size Guide'
- Size Guide URL - URL used for the above option
Klarna Shipping Addons
- Expedited Packing - Displays an addon for Expedited Packing
- Expedited Packing Cost - Enter the cost of the addon, in minor units
- Expedited Packing VAT - Enter the VAT rate of the addon, in minor units
- Expedited Packing Required - Should it be required?
- Expedited Packing Preselected - Should it be preselected?
- Additional Instructions - Displays an input field for Additional Instructions
- Additional Instructions Required - Should it be required?
- Entry Code - Displays an input field for Entry Code
- Entry Code Required - Should it be required?
- Contactless Delivery - Displays an input field for Contactless Delivery
- Contactless Delivery Required - Should it be required?
Make sure it works (test it) - Shipwreck
To test the settings and making sure it works properly follow our instructions here: https://docs.redlight.se/article/51-klarna-shipping-testing-it-shipwreck
We strongly suggest that you try the "Load visual test" via Shipwreck
Change Klarna Checkout Settings to display Shipping options
To make sure the integration is working properly you need to make sure that Klarna Checkout settings (Found at: WooCommerce → Settings → Payments → Klarna Checkout → Shipping options ) and "Display shipping options within Klarnas iframe" is toggled.
If this step is skipped, the integration will NOT work