public function __construct() { /** Backward compatibility */ include_once _PS_MODULE_DIR_ . '/paypal/backward_compatibility/backward.php'; $this->context = Context::getContext(); parent::__construct(); }
public function __construct() { $this->paypal = new PayPal(); $this->context = Context::getContext(); parent::__construct(); $this->run(); }