title: Best way to implement unsupported paypal currency into woocommerce
body: <p>I'm making a webshop and I'm using woocommerce. The problem is following:</p>
  
  <p>My customer wants to sell only in Croatia, for now which means I have to display price in Kunas (HRK)...</p>
  
  <p>I have PayPal gateway for woocommerce, and I have implemented Croatian Kuna into woocommerce system by using following code (I'm only posting this to make full description):</p>
  
  <pre><code>&lt;?php
  // Add currency / symbol
  add_filter( 'woocommerce_currencies', 'add_rand_currency' );
  add_filter( 'woocommerce_currency_symbol', 'add_rand_currency_symbol' );
  
  function add_rand_currency( $currencies ) {
      $currencies['HRK'] = __( 'Croatian Kuna (kn)', 'woothemes' );
      return $currencies;
  }
  
  function add_rand_currency_symbol( $symbol ) {
      $currency = get_option( 'woocommerce_currency' );
      switch( $currency ) {
          case 'HRK': $symbol = 'kn'; break;
      }
      return $symbol;
  }
  ?&gt;
  </code></pre>
  
  <p>If I select Croatian Kuna for my currency from administration, PayPal gateway says currency is not supported. Ok, so I understand I can't send customers order in Kunas but I can do that in Euros for example.</p>
  
  <p>So here's my Idea, and I'd like to hear what you think about it.</p>
  
  <p>I'll make my default currency Euros (which means I'll have to enter product prices in euros), and on the front end I'll get all prices (that are nicely wrapped with .price css class) with jQuery and recalculate them to from Euro to Kuna (just visually), while woocommerce will send on checkout all products to pay pal in Euros.</p>
  
  <p>Just to add, I'm running on deadline and this is only problem left to solve, so this is the main reason why I'm doing it with JavaScript. I'll probably use yahoo api for currency conversion, if there's something better let me know.</p>