private function isDataIntegrity($pin)
 {
     $sellerAccount = new Dotpay_Model_SellerAccount();
     $sellerAccount->setId($this->getRequest()->getPost('id'))->setPin($pin);
     $customer = new Dotpay_Model_Customer();
     $customer->setEmail($this->getRequest()->getPost('email'));
     $transaction = new Dotpay_Model_Transaction();
     $transaction->setAmount($this->getRequest()->getPost('amount'))->setDescription($this->getRequest()->getPost('description'))->setControl($this->getRequest()->getPost('control'))->setCode($this->getRequest()->getPost('code'))->setSellerAccount($sellerAccount)->setCustomer($customer);
     $transactionConfirmation = new Dotpay_Model_TransactionConfirmation();
     $transactionConfirmation->setStatus($this->getRequest()->getPost('status'))->setTId($this->getRequest()->getPost('t_id'))->setOriginalAmount($this->getRequest()->getPost('original_amount'))->setTStatus($this->getRequest()->getPost('t_status'))->setService($this->getRequest()->getPost('service'))->setUsername($this->getRequest()->getPost('username'))->setPassword($this->getRequest()->getPost('password'))->setTransaction($transaction);
     if ($this->getRequest()->getPost('md5') == $transactionConfirmation->computeMd5()) {
         return TRUE;
     }
     return FALSE;
 }
 protected function initValidators()
 {
     $this->validators = array('status' => new Zend_Validate_InArray(Dotpay_Model_TransactionConfirmation::getAvailableStatuses()), 't_id' => new Zend_Validate_StringLength(array('max' => 255)), 'orginal_amount' => new Zend_Validate_StringLength(array('max' => 255)), 't_status' => new Zend_Validate_InArray(Dotpay_Model_TransactionConfirmation::getAvaliableTStatuses()), 'service' => new Zend_Validate_StringLength(array('max' => 255)), 'username' => new Zend_Validate_StringLength(array('max' => 255)), 'password' => new Zend_Validate_StringLength(array('max' => 255)), 'md5' => array(new Zend_Validate_Alnum(), new Zend_Validate_StringLength(array('max' => 32)), new Zend_Validate_Callback(array($this, 'validateMd5'))));
 }