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('amount' => new Zend_Validate_Regex('/^[0-9]{1,6}(.[0-9]{1,2})?$/'), 'currency' => new Zend_Validate_InArray(Dotpay_Model_Transaction::getAvailableCurrencies()), 'description' => new Zend_Validate_StringLength(array('max' => 255)), 'control' => new Zend_Validate_StringLength(array('max' => 128)), 'code' => new Zend_Validate_StringLength(array('max' => 255)));
 }