General information
Additional Klarna plugins
Changelog
1.9.3
- Fix - Fixed typo in order note, saying "capture" instead of "refund".
- Tweak - Allow error message to be translatable for unknown errors.
- Fix - You should now be able to overwrite the recurring payment token from the admin Subscription page.
- Fix - Fixed a critical error when refunding an order that contain a product that was permanently deleted from the store (thanks @Zaglov!).
- Fix - Fixed a critical error when attempting to retrieve the product URLs of a product that was permanently deleted from the store (thanks @Zaglov!).
- Fix - Closed an open HTML tag.
- Feature - Added a toggle in the order metabox that allow you to disable the order synchronization. When disabled, you can modify the WooCommerce order in any way (e.g., change order status, modify order lines) without effecting the corresponding Klarna order. By default, order synchronization is always enabled.
- Fix - Fixed an issue where metadata was not properly saved.
- Fix - Added a check to ensure that a Klarna order is always, at most, processed once. This should prevent accidental order re-processing.
- Fix - Fixed a critical error that happened when creating a new, manual order if HPOS was enabled.
- Enhancement - You now have the ability to utilize the 'klarna_base_region' filter, allowing you to modify the regional endpoint (EU, US, or OC).
- Fix - Fixed an issue where a warning about an undefined array key would appear.
- Fix - Resolved a critical error that occurred when creating an order in conjunction with the Klarna Sellers app/PoS.
- Fix - Addressed a critical error that arose while managing an order containing an item that had been permanently deleted.
- Fix - Resolved a critical error that occurred on older versions of WooCommerce when displaying the metabox.
- Tweak - Increased the minimum required PHP version to 7.3 and the minimum required WooCommerce version to 5.0.0.
- Feature - The plugin now supports WooCommerce's "High-Performance Order Storage" ("HPOS") feature.
- Tweak - The plugin settings have been relocated to the payment gateways' plugin settings.
- Fix - Addressed undefined index notices and resolved a PHP 8 deprecation warning.
- Fix - Fixed a critical error that happened sometimes when logging is enabled.
- Tweak - The remaining authorized amount will now be written to the order note if the capture fails.
- Tweak - Better error handling when the request body is missing.
- Fix - The unit price should now account for quantity on refund.
- Feature - Added support for "PW WooCommerce Gift Cards"
- Fix - Fixed division by zero.
- Fix - Fixed an issue where "null" is returned if the tax rate could not be retrieved.
- Fix - The image and product URL should now be sent for pay for order if this option is enabled in Klarna Checkout or Payments.
- Tweak - You can now use the 'kom_wc_order_line_item' filter to conditionally add or remove items to be sent to Klarna.
- Tweak - Use the Klarna Shipping Assistant shipping data when available.
- Enhancement - If a capture fails due to a 403 error, the merchant should now be notified about the reason.
- Note - Cleaned up code that handles requests to make maintainability easier.
- Fix - Fixed an issue with the Mexico integration.
- Fix - Fixed a potential call to a undefined variable.
- Enhancement - Added a filter when processing line items to be able to set the product type. This helps fix an issue if you have removed a product and want to set the product type. Thank you Ilja Zaglov (github: Zaglov).
- Fix - Fixed an issue that would cause the klarna order id to not be found on renewal orders in some cases.
- Fix - Fixed an issue caused by not sending the correct taxes on a fee.
- Fix - We no longer send all coupons when capturing an order. This caused the order in Klarna to show a warning message, even though the order had been captured correctly.
- Enhancement - Add a action link to our documentation in the plugin list.
- Fix - We no longer trigger calculations when we complete an order with Klarna. This could cause issues with shipping taxes and some other tax plugins.
- Tweak - Updated URLs to our docs pages.
- Enhancement - Add support for New Zealand.
- Enhancement - Add new filter to allow custom post statuses for when you can update an order. kom_allowed_update_statuses
- Enhancement - Add filter for the body for capture and refund requests. kom_order_capture_args and kom_refund_order_args
- Enhancement - Add a fallback for when a product is removed between the purchase and order activation.
- Fix - Fixed some potential fatal errors in the sellers app integration.
- Enhancement - Add product types to the order lines being sent to Klarna.
- Tweak - We no longer check for is_ajax when updating the Klarna order items.
- Fix - Limit shipping, fees and coupons to only 1 quantity when updating an order. Prevents a unnecessary calculation.
- Fix - Fixed tax amount for shipping and fees not being sent correctly when updating an order.
- Fix - Fixed an issue that made us not send the correct order total to Klarna when updating an order in WooCommerce.
- Enhancement - Added the WooCommerce version number to the useragent sent to Klarna.
- Tweak - Split the order line processing into different functions to prevent applying methods that don't exist for the object.
- Fix - Fixed the default for the debug log setting.
- Fix - Fixed some error notices that came from accessing properties of coupons directly.
- Fix - Fixed an issue when getting tax rates for coupons.
- Fix - Fixed an incorrect definition name used for the plugin version in the log.
- Enhancement - Add order lines to WooCommerce order, for orders created via Sellers App if corresponding SKU exist in WooCommerce.
- Fix - Fixed an issue when adding items with a negative value being sent incorrectly to Klarna that caused the tax rate to be incorrect. Tax rate calculations have been improved.
- Feature - Added ability to force a full capture of an order. Useful for merchants that are using an ERP system that could have updated the Klarna order without changing the WooCommerce order.
- Enhancement - Improved logging to make debugging easier.
- Fix - Fixed an issue were when adding products to the Klarna order, the tax rate sent to Klarna would be incorrect.
- Fix - Fixed a division by zero issue that happened when you attempted to refund a product with 0 value.
- Fix - Fix in http response code handling in refunds. Could cause denied refunds to appeared as approved in WooCommerce.
- Fix - PHP error fix in pending orders class.
- Enhancement - Update pending order status based on the fraud status in Klarnas system.
- Enhancement - Add environment information to the Klarna order management metabox.
- Enhancement - Add a filter to the order lines sent to Klarna. kom_wc_order_line_item.
- Fix - Improvements to the notification listener. Prevents error notices.
- Fix - Set order status to on-hold if the Klarna order id is missing during order completion.
- Fix - Use Klarna order id for payment_complete to set the transaction id.
- Enhancement - Added debug log setting. You can now turn off logging of requests made from the plugin to Klarna.
- Fix - Prevent requests from being made from orders that have not been paid.
- Feature - Added support for oceania endpoints.
- Feature - Added support for sending KSS data.
- Feature - Added initial payment method in the Meta box.
- Fix - Only show actions select field in the meta box if they are available
- Fix - Fixed so canada uses the correct endpoint.
- Feature - Added order line data to be sent with capture and refund requests.
- Fix - Fixed callback array and priority in settings class. Caused PHP notice.
- Fix - Fix for Klarna Sellers app integration. Fixes issue with KP.
- Feature - Added settings through the Klarna Add-ons page. Allows the merchant to select if they want to automatically process orders or do so manually through each order, or through the Klarna portal.
- Feature - Added the option to get the customer address and save that to a WooCommerce order. Can be used with Klarna seller app orders to get the orders to WooCommerce ( You need to add the products manually ).
- Enhancement - If the order is completed in Klarna before we try and activate the order, the order is no longer set to on-hold.
- Enhancement - Ser order status to on-hold if order activation fails.
- Fix - Corrected text for refund error.
- Fix - Added rounding to refund amount to prevent float value.
- Tweak - Adds support for making order management requests possible even if payment method is disabled in frontend.
- Tweak - Added PHP version and Krokedil to useragent.
- Fix - Fixes WC 3.3 notices.
- Fixed compatibility with Klarna Checkout plugin.
- Initial release.