WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » Gateway Disabled: PayPal does not support your store currency. HKD

Gateway Disabled: PayPal does not support your store currency. HKD

Viewing 1 replies (of 1 total)
  • Could this be the problem?
    I removed it and still had the error

    add_filter( 'woocommerce_currencies', 'add_my_currency' );
    
    function add_my_currency( $currencies ) {
         $currencies['ABC'] = __( 'HKD', 'woocommerce' );
         return $currencies;
    }
    
    add_filter('woocommerce_currency_symbol', 'add_my_currency_symbol', 10, 2);
    
    function add_my_currency_symbol( $currency_symbol, $currency ) {
         switch( $currency ) {
              case 'ABC': $currency_symbol = 'HKD'; break;
         }
         return $currency_symbol;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Gateway Disabled: PayPal does not support your store currency. HKD’ is closed to new replies.
Skip to toolbar