public function getAmount()
    {
        $amount = $this->getRequest()->getRequestParameter('capture_amount');

        return $amount ? $amount : $this->getOrder()->getPayPalOrder()->getRemainingOrderSum();
    }