I've upgraded PRO Sites to the new vershion,

I've upgraded PRO Sites to the new vershion, and unfortunatly it doesn't support Russian currency (rubles). But in the description of new relise it is written that it does. Could you check this problem and add support of rubles?

  • Vaughan

    Hi, you should be able to add this yourself, whilst waiting for the developer to fix this.

    If you could edit the following file.

    /wp-content/plugins/pro-sites/pro-sites-files/gateways/gateway-paypal-express-pro.php

    Find the following function

    public static function get_supported_currencies() {
    
    		return array(
    			'AUD' => array( 'Australian Dollar', '24' ),
    			'BRL' => array( 'Brazilian Real', '52, 24' ),
    			'CAD' => array( 'Canadian Dollar', '24' ),
    			'CHF' => array( 'Swiss Franc', '43, 48, 46' ),
    			'CZK' => array( 'Czech Koruna', '4b, 10d' ),
    			'DKK' => array( 'Danish Krone', '6b, 72' ),
    			'EUR' => array( 'Euro', '20ac' ),
    			'GBP' => array( 'British Pound', 'a3' ),
    			'HKD' => array( 'Hong Kong Dollar', '24' ),
    			'HUF' => array( 'Hungarian Forint', '46, 74' ),
    			'ILS' => array( 'Israeli New Sheqel', '20aa' ),
    			'JPY' => array( 'Japanese Yen', 'a5' ),
    			'MXN' => array( 'Mexican Peso', '24' ),
    			'MYR' => array( 'Malaysian Ringgit', '52, 4d' ),
    			'NOK' => array( 'Norwegian Krone', '6b, 72' ),
    			'NZD' => array( 'New Zealand Dollar', '24' ),
    			'PHP' => array( 'Philippine Peso', '20b1' ),
    			'PLN' => array( 'Polish Z?oty', '7a, 142' ),
    			'SEK' => array( 'Swedish Krona', '6b, 72' ),
    			'SGD' => array( 'Singapore Dollar', '24' ),
    			'THB' => array( 'Thai Baht', 'e3f' ),
    			'TRY' => array( 'Turkish Lira', '20a4' ),
    			'TWD' => array( 'New Taiwan Dollar', '4e, 54, 24' ),
    			'USD' => array( 'United States Dollar', '24' ),
    		);

    Then add the Ruble code to the array like below;

    public static function get_supported_currencies() {
    
    		return array(
    			'AUD' => array( 'Australian Dollar', '24' ),
    			'BRL' => array( 'Brazilian Real', '52, 24' ),
    			'CAD' => array( 'Canadian Dollar', '24' ),
    			'CHF' => array( 'Swiss Franc', '43, 48, 46' ),
    			'CZK' => array( 'Czech Koruna', '4b, 10d' ),
    			'DKK' => array( 'Danish Krone', '6b, 72' ),
    			'EUR' => array( 'Euro', '20ac' ),
    			'GBP' => array( 'British Pound', 'a3' ),
    			'HKD' => array( 'Hong Kong Dollar', '24' ),
    			'HUF' => array( 'Hungarian Forint', '46, 74' ),
    			'ILS' => array( 'Israeli New Sheqel', '20aa' ),
    			'JPY' => array( 'Japanese Yen', 'a5' ),
    			'MXN' => array( 'Mexican Peso', '24' ),
    			'MYR' => array( 'Malaysian Ringgit', '52, 4d' ),
    			'NOK' => array( 'Norwegian Krone', '6b, 72' ),
    			'NZD' => array( 'New Zealand Dollar', '24' ),
    			'PHP' => array( 'Philippine Peso', '20b1' ),
    			'PLN' => array( 'Polish Z?oty', '7a, 142' ),
                'RUB' => array( 'Russian Ruble', '20bd'),
    			'SEK' => array( 'Swedish Krona', '6b, 72' ),
    			'SGD' => array( 'Singapore Dollar', '24' ),
    			'THB' => array( 'Thai Baht', 'e3f' ),
    			'TRY' => array( 'Turkish Lira', '20a4' ),
    			'TWD' => array( 'New Taiwan Dollar', '4e, 54, 24' ),
    			'USD' => array( 'United States Dollar', '24' ),
    		);

    Hope this helps

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.