If we use Klarna Checkout for WooCommerce plugin for implement klarna in woocommerce the have to maintain some mandatory conditions

  1. SSL
  2. klarna implemented country and customer billing address must be same
  3. Must apply 2 decimal in woocommerce setting. However most of us do not want to set 2 decimal price. There have an alternative to ride this by adding hook in function.php file
     * Trim zeros in price decimals
     add_filter( 'woocommerce_price_trim_zeros', '__return_true' );

    More details https://krokedil.com/dont-display-prices-with-0-decimals-in-woocommerce/

By toihid