core/oxpspaymorrowsettings.php
protected function _getKey( $sKeyType )
    {
        $sSettingName = (string) $sKeyType;
        $sSettingName .= 'Key';

        if ( $this->isSandboxMode() ) {
            $sSettingName .= 'Test';
        }

        $sEncodedKey = (string) $this->getSetting( $sSettingName );

        return !empty( $sEncodedKey ) ? base64_decode( $sEncodedKey ) : '';
    }
protected function _getKey( $sKeyType )
    {
        $sSettingName = (string) $sKeyType;
        $sSettingName .= 'Key';

        if ( $this->isSandboxMode() ) {
            $sSettingName .= 'Test';
        }

        $sEncodedKey = (string) $this->getSetting( $sSettingName );

        return !empty( $sEncodedKey ) ? base64_decode( $sEncodedKey ) : '';
    }
protected function _getKey ( $ sKeyType ) { $ sSettingName = ( string ) $ sKeyType ; $ sSettingName .= 'Key' ; if ( $ this -> isSandboxMode ( ) ) { $ sSettingName .= 'Test' ; } $ sEncodedKey = ( string ) $ this -> getSetting ( $ sSettingName ) ; return ! empty ( $ sEncodedKey ) ? base64_decode ( $ sEncodedKey ) : '' ; }
Get public or private merchant key or public Paymorrow key setting value.
It verifies if it is Test or Live mode to return corresponding value.
Additionally a base64 decoding is performed.

@param string $sKeyType True for public key, false for private key.

@return mixed
Get public or private merchant key or public Paymorrow key setting value . It verifies if it is Test or Live mode to return corresponding value . Additionally a base64 decoding is performed .