app/code/community/Adyen/Fee/Helper/Data.php
public function getPaymentFeeAmount(Mage_Sales_Model_Quote $quote, $store = null)
    {
        $paymentMethod = $quote->getPayment()->getMethod();
        if ($paymentMethod == 'adyen_openinvoice') {
            return Mage::getStoreConfig('payment/adyen_openinvoice/fee');
        } elseif ($paymentMethod == 'adyen_ideal') {
            return Mage::getStoreConfig('payment/adyen_ideal/fee');
        } elseif (substr($paymentMethod, 0, 10) == 'adyen_hpp_') {
            return $this->getHppPaymentMethodFee($paymentMethod);
        }

        return 0;
    }
public function getPaymentFeeAmount(Mage_Sales_Model_Quote $quote, $store = null)
    {
        $paymentMethod = $quote->getPayment()->getMethod();
        if ($paymentMethod == 'adyen_openinvoice') {
            return Mage::getStoreConfig('payment/adyen_openinvoice/fee');
        } elseif ($paymentMethod == 'adyen_ideal') {
            return Mage::getStoreConfig('payment/adyen_ideal/fee');
        } elseif (substr($paymentMethod, 0, 10) == 'adyen_hpp_') {
            return $this->getHppPaymentMethodFee($paymentMethod);
        }

        return 0;
    }
public function getPaymentFeeAmount ( Mage_Sales_Model_Quote $ quote , $ store = null ) { $ paymentMethod = $ quote -> getPayment ( ) -> getMethod ( ) ; if ( $ paymentMethod == 'adyen_openinvoice' ) { return Mage :: getStoreConfig ( 'payment/adyen_openinvoice/fee' ) ; } elseif ( $ paymentMethod == 'adyen_ideal' ) { return Mage :: getStoreConfig ( 'payment/adyen_ideal/fee' ) ; } elseif ( substr ( $ paymentMethod , 0 , 10 ) == 'adyen_hpp_' ) { return $ this -> getHppPaymentMethodFee ( $ paymentMethod ) ; } return 0 ; }
Get the payment fee amount of the payment method that is selected

@param Mage_Sales_Model_Quote
@return float
Get the payment fee amount of the payment method that is selected