public function generateMerchantSignature($key)
    {
        $key = $this->decodeBase64($key);
        //Generate Merchant Parameters
        $merchant_parameter = $this->generateMerchantParameters();
        // Get key with Order and key
        $key = $this->encrypt_3DES($this->getOrder(), $key);
        // Generated Hmac256 of Merchant Parameter
        $result = $this->hmac256($merchant_parameter, $key);

        // Base64 encoding
        return $this->encodeBase64($result);
    }
public function generateMerchantSignature($key)
    {
        $key = $this->decodeBase64($key);
        //Generate Merchant Parameters
        $merchant_parameter = $this->generateMerchantParameters();
        // Get key with Order and key
        $key = $this->encrypt_3DES($this->getOrder(), $key);
        // Generated Hmac256 of Merchant Parameter
        $result = $this->hmac256($merchant_parameter, $key);

        // Base64 encoding
        return $this->encodeBase64($result);
    }
public function generateMerchantSignature ( $ key ) { $ key = $ this -> decodeBase64 ( $ key ) ; //Generate Merchant Parameters $ merchant_parameter = $ this -> generateMerchantParameters ( ) ; // Get key with Order and key $ key = $ this -> encrypt_3DES ( $ this -> getOrder ( ) , $ key ) ; // Generated Hmac256 of Merchant Parameter $ result = $ this -> hmac256 ( $ merchant_parameter , $ key ) ; // Base64 encoding return $ this -> encodeBase64 ( $ result ) ; }
Generate Merchant Signature

@param string $key

@return string
Generate Merchant Signature