public function getHandler($api) { PayPalBase::$isLive = !$this->getConfigValue('sandbox'); return PaypalCommon::getHandler($this, $api); }