[Pay Per View] Add DANISH paypal site to list

Option to selct DANISH paypal site in the list

  • Ash

    Hello Tom Gertsen

    Thank you for your suggestion. I am marking this as a feature request for now, let's see how other members think about this.

    As a workaround, please go to /wp-content/plugins/pay-per-view/includes/paypal-express.php line no 627 and replace

    $locales      = array(
    	'AU' => 'Australia',
    	'AT' => 'Austria',
    	'BE' => 'Belgium',
    	'CA' => 'Canada',
    	'CN' => 'China',
    	'FR' => 'France',
    	'DE' => 'Germany',
    	'HK' => 'Hong Kong',
    	'IT' => 'Italy',
    	'MX' => 'Mexico',
    	'NL' => 'Netherlands',
    	'PL' => 'Poland',
    	'SG' => 'Singapore',
    	'ES' => 'Spain',
    	'SE' => 'Sweden',
    	'CH' => 'Switzerland',
    	'TR' => 'Turkey',
    	'GB' => 'United Kingdom',
    	'US' => 'United States'
    );

    with

    $locales      = array(
    	'AU' => 'Australia',
    	'AT' => 'Austria',
    	'BE' => 'Belgium',
    	'CA' => 'Canada',
    	'CN' => 'China',
    	'DK' => 'Denmark',
    	'FR' => 'France',
    	'DE' => 'Germany',
    	'HK' => 'Hong Kong',
    	'IT' => 'Italy',
    	'MX' => 'Mexico',
    	'NL' => 'Netherlands',
    	'PL' => 'Poland',
    	'SG' => 'Singapore',
    	'ES' => 'Spain',
    	'SE' => 'Sweden',
    	'CH' => 'Switzerland',
    	'TR' => 'Turkey',
    	'GB' => 'United Kingdom',
    	'US' => 'United States'
    );

    Hope it helps! Please feel free to ask more questions if you have any.

    Have a nice day!

    Cheers,
    Ash