/**
  * This method builds the encoded data from the Checkout Object.
  *
  * @param string $dataToEncode the string data to encode.
  *
  * @return string The encoded data
  */
 private function buildEncodedData($dataToEncode)
 {
     $secret = PlenigoManager::get()->getSecret();
     return EncryptionUtils::encryptWithAES($secret, $dataToEncode);
 }