Wrong “locale” according to Klarna
-
Hi!
I am using Klarna Checkout and Klarna Shipping Assistant.
The only shipping Shipping method I am using is Klarna skipping Assistant.
But in checkout it says “There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help.”
According to Klarna I have installed and setup everything correct. They are saying (from their logs) locale is set to USA and not Sweden when I am entering the checkout.
Source: https://docs.klarna.com/order-management/api/
How do I make sure the locale is Sweden?
The address of the store is Sweden.
Thanks in advance.
Best regards, Niclas
-
Hello,
For better understanding of this context, can you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Then include the report in your response.
Can you send us a screenshot of how your shipping zones are set up? You can see that at WooCommerce > Settings > Shipping > Shipping zones. I recommend https://snipboard.io for sharing screenshots – please follow the instructions on the page, then paste the URL in this your reply.
Looking forward to hearing from you.
Hi!
Thanks.
Best regards, Niclas
https://snipboard.io/lXgF1s.jpg
### WordPress Environment ### WordPress address (URL): https://www.divinemagnetism.se Site address (URL): https://www.divinemagnetism.se WC Version: 6.9.4 REST API Version: ? 6.9.4 WC Blocks Version: ? 8.3.3 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0.2 WP Multisite: – WP Memory Limit: 102 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 8.0.24 PHP Post Max Size: 256 MB PHP Time Limit: 300 PHP Max Input Vars: 5000 cURL Version: 7.68.0 OpenSSL/1.1.1f SUHOSIN Installed: – MySQL Version: 10.3.35-MariaDB-1:10.3.35+maria~focal Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.9.4 WC Database Prefix: www_ Total Database Size: 11.14MB Database Data Size: 8.61MB Database Index Size: 2.53MB www_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB www_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB www_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB www_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_actionscheduler_actions: Data: 0.06MB + Index: 0.13MB + Engine InnoDB www_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_actionscheduler_logs: Data: 0.05MB + Index: 0.03MB + Engine InnoDB www_aiowps_debug_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_aiowps_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_aiowps_failed_logins: Data: 0.19MB + Index: 0.31MB + Engine InnoDB www_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_aiowps_login_activity: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_aiowps_login_lockdown: Data: 0.02MB + Index: 0.05MB + Engine InnoDB www_aiowps_permanent_block: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_cli_cookie_scan_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB www_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB www_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_options: Data: 5.09MB + Index: 0.13MB + Engine InnoDB www_postmeta: Data: 0.25MB + Index: 0.11MB + Engine InnoDB www_posts: Data: 1.41MB + Index: 0.06MB + Engine InnoDB www_sbi_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_sbi_feed_caches: Data: 0.03MB + Index: 0.02MB + Engine InnoDB www_sbi_instagram_feeds_posts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_sbi_instagram_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_sbi_instagram_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_sbi_sources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_usermeta: Data: 0.09MB + Index: 0.03MB + Engine InnoDB www_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB www_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB www_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB www_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB www_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB www_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB www_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB www_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_yoast_indexable: Data: 0.08MB + Index: 0.09MB + Engine InnoDB www_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB www_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB www_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB www_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### attachment: 24 cookielawinfo: 6 custom_css: 1 customize_changeset: 13 nav_menu_item: 11 neve_product_tabs: 4 page: 12 post: 2 product: 18 revision: 109 seedprod: 1 shop_order: 1 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (16) ### All In One WP Security: by All In One WP Security & Firewall Team – 5.0.9 Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: by SeedProd – 6.15.4 CookieYes | GDPR Cookie Consent: by CookieYes – 3.0.2 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5 Head, Footer and Post Injections: by Stefano Lissa – 3.2.5 Smash Balloon Instagram Feed: by Smash Balloon – 6.0.8 Klarna Checkout for WooCommerce: by Krokedil – 2.8.6 Klarna Shipping Assistant for WooCommerce: by Krokedil – 1.1.1 Neve Pro Addon: by ThemeIsle – 2.4.2 Otter – Page Builder Blocks & Extensions for Gutenberg: by ThemeIsle – 2.0.16 Otter Pro: by ThemeIsle – 2.0.16 Sparks for WooCommerce: by – 1.0.8 TinyPNG - JPEG, PNG & WebP image compression: by TinyPNG – 3.4.1 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 2.22.23.1 WooCommerce: by Automattic – 6.9.4 Yoast SEO: by Team Yoast – 19.7.2 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: SEK (kr) Currency Position: right_space Thousand Separator: Decimal Separator: . Number of Decimals: 0 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: ? Enforce Approved Product Download Directories: – ### WC Pages ### Shop base: #18 - /produkter/ Cart: #19 - /varukorg/ Checkout: #20 - /kassan/ My account: #21 - /mitt-konto/ Terms and conditions: #22 - /kopvillkor/ ### Theme ### Name: Neve Child Version: 1.0.0 Author URL: https://themeisle.com Child Theme: ? Parent Theme Name: Neve Parent Theme Version: 3.4.2 Parent Theme Author URL: https://themeisle.com WooCommerce Support: ? ### Templates ### Overrides: neve/woocommerce/product-searchform.php ### Klarna Checkout Request Log ### 2022-10-06 11:46:15: KCO update order Response code: 404 Response message: Correlation ID: 2022-10-06 11:46:15: KCO get order Response code: 404 Response message: Correlation ID: 2022-10-06 11:46:15: KCO get order Response code: 404 Response message: Correlation ID: 2022-10-06 11:42:29: KCO update order Response code: 404 Response message: Correlation ID: 2022-10-06 11:42:29: KCO get order Response code: 404 Response message: Correlation ID: 2022-10-06 11:42:28: KCO get order Response code: 404 Response message: Correlation ID: 2022-10-05 12:34:25: KCO update order Response code: 404 Response message: Correlation ID: 2022-10-05 12:34:25: KCO get order Response code: 404 Response message: Correlation ID: 2022-10-05 12:34:25: KCO get order Response code: 404 Response message: Correlation ID: 2022-10-05 12:31:33: KCO update order Response code: 404 Response message: Correlation ID: 2022-10-05 12:31:33: KCO get order Response code: 404 Response message: Correlation ID: 2022-10-05 12:31:32: KCO get order Response code: 404 Response message: Correlation ID: ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ? Next scheduled: 2022-10-08 08:32:08 +02:00 Options: ? Notes: 95 Onboarding: completed ### Action Scheduler ### Complete: 70 Oldest: 2022-09-06 16:48:15 +0200 Newest: 2022-10-07 05:19:22 +0200 Pending: 2 Oldest: 2022-10-07 15:16:46 +0200 Newest: 2022-10-08 05:19:22 +0200 ### Status report information ### Generated at: 2022-10-07 15:17:24 +02:00
Hello,
Thanks for the info.
I could not reproduce the issue from my end since the site is showing a
Coming soon
page.Please reach out to the plugin support first, you can send them a message here.
Link to image: https://snipboard.io/uUmLFX.jpgFeel free to let us know if you have questions after that.
Hi!
I have removed the coming soon page. Could you give it a try?
Hi @viche
I checked your site and was able to reproduce the issue. In fact, there is no option to add a shipping address on the Checkout page. I even updated my information on the right side but the shipping option at the left side is not being updated.
Image Link: https://snipboard.io/aouBcm.jpg
Can you please share with us a clear screenshot of the General Settings under
WooCommerce > Settings > General
.If you don’t already have a screenshot service installed, you can try https://snipboard.io or https://skitch.com/. You can share the direct link to the image as a response to this topic.
Hello @viche,
Thank you for providing the screenshots, everything looks normal.
Before we refer you to the plugin support, please check if the Shipping Zone for Sweden is enabled as shown below.
Link to image: https://i.imgur.com/8feZans.pngIf it already is, then the next step is to reach out to the plugin and see what they have to say about this.
Cheers!
Hi!
Klarna Shipping Assistant is enabled for Sweden like the image above shows.
Thanks!
Best regards, Niclas
Hi @viche
Just to rule out that the problem is not with the Klarna Shipping Assistant plugin, can you please try to disable it and replace it with a shipping method like Free Shipping or Local Pickup and see if this works?
Image Link: https://snipboard.io/okVBmD.jpg
Let us know how it goes!
Very strange, when Klarna Shipping Assistant is is disabled the options in the frame is visible and when enabled they dont. But in the left column it says Local pickup.
Now everything is working, probably a glitch or more probably cache issues.
I did talk to the KSA support yesterday and today the made me aware of the following
Klarna Shipping Assistant is used for handling the shipping methods in your store. However, it is still required to have at least one native WooCommerce shipping method active for each shipping zone you enabled KSA.
https://docs.krokedil.com/klarna-for-woocommerce/additional-klarna-plugins/klarna-shipping-assistant/#requirementsPerhaps I should have seen this and perhaps I would have read the text better but when Klarna said everything was fine and the problem was locale in woocommerce I also of course thought that was the problem.
Thanks for helping and have an awesome day!
- The topic ‘Wrong “locale” according to Klarna’ is closed to new replies.