WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Gateway Disabled: PayPal does not support your store currency. HKD (2 posts)

  1. genevishgraphics
    Member
    Posted 1 year ago #

    Paypal does accept HKD so why the error message???

    http://wordpress.org/extend/plugins/woocommerce/

  2. genevishgraphics
    Member
    Posted 1 year ago #

    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;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.