app/code/community/Adyen/Fee/Helper/Data.php
public function getHppPaymentMethodFee($paymentMethod)
    {
        $paymentMethod = str_replace('adyen_hpp_', '', $paymentMethod);

        $paymentFees = $this->getHppPaymentMethodFees();

        if ($paymentFees && is_array($paymentFees) && !empty($paymentFees)) {
            foreach ($paymentFees as $paymentFee) {
                if (isset($paymentFee['code']) && $paymentFee['code'] == $paymentMethod) {
                    if (isset($paymentFee['amount'])) {
                        return $paymentFee['amount'];
                    }
                }
            }
        }

        return null;
    }
public function getHppPaymentMethodFee($paymentMethod)
    {
        $paymentMethod = str_replace('adyen_hpp_', '', $paymentMethod);

        $paymentFees = $this->getHppPaymentMethodFees();

        if ($paymentFees && is_array($paymentFees) && !empty($paymentFees)) {
            foreach ($paymentFees as $paymentFee) {
                if (isset($paymentFee['code']) && $paymentFee['code'] == $paymentMethod) {
                    if (isset($paymentFee['amount'])) {
                        return $paymentFee['amount'];
                    }
                }
            }
        }

        return null;
    }
public function getHppPaymentMethodFee ( $ paymentMethod ) { $ paymentMethod = str_replace ( 'adyen_hpp_' , '' , $ paymentMethod ) ; $ paymentFees = $ this -> getHppPaymentMethodFees ( ) ; if ( $ paymentFees && is_array ( $ paymentFees ) && ! empty ( $ paymentFees ) ) { foreach ( $ paymentFees as $ paymentFee ) { if ( isset ( $ paymentFee [ 'code' ] ) && $ paymentFee [ 'code' ] == $ paymentMethod ) { if ( isset ( $ paymentFee [ 'amount' ] ) ) { return $ paymentFee [ 'amount' ] ; } } } } return null ; }
Get the fixed payment method fee amount for the payment method that is selected

@param $paymentMethod
@return paymentFee
Get the fixed payment method fee amount for the payment method that is selected