Stupid developer of this module, I myself had to fix everything!
A patch for version 3.11
Fix file paypal.php
public function __construct()
{
$this->name = 'paypal';
$this->tab = 'payments_gateways';
$this->version = '3.11';
$this->author = 'PrestaShop';
$this->is_eu_compatible = 1;
$this->currencies = true;
$this->currencies_mode = 'radio';
parent::__construct();
$this->displayName = $this->l('PayPal');
$this->description = $this->l('Accepts payments by credit cards (CB, Visa, MasterCard, Amex, Aurore, Cofinoga, 4 stars) with PayPal.');
$this->confirmUninstall = $this->l('Are you sure you want to delete your details?');
$this->page = basename(__FILE__, '.php');
if (version_compare(_PS_VERSION_, '1.5', '<')) {
$mobile_enabled = (int) Configuration::get('PS_MOBILE_DEVICE');
require _PS_MODULE_DIR_.$this->name.'/backward_compatibility/backward.php';
} else {
$mobile_enabled = (int) Configuration::get('PS_ALLOW_MOBILE_DEVICE');
}
if (self::isInstalled($this->name)) {
$this->loadDefaults();
if ($mobile_enabled && $this->active) {
$this->checkMobileCredentials();
} elseif ($mobile_enabled && !$this->active) {
$this->checkMobileNeeds();
}
} else {
$this->checkMobileNeeds();
}
//$tls_verificator = new TLSVerificator(true, $this);
}
private function loadLangDefault()
{
$this->default_country = (int) Configuration::get('PAYPAL_COUNTRY_DEFAULT');
$country = new Country($this->default_country);
$this->iso_code = Tools::strtoupper($country->iso_code);
}
:::