On Plesk you can allow allow_url_fopen per domain by editting the vhost.conf file for that domain and set the php_admin_flag as bellow.
php_admin_flag allow_url_fopen on
Once you have done this, run the Plesk magicwand
/usr/local/psa/admin/sbin/websrvmng -v -a