Magento - Gateway error Authorize.net - php

Getting "Gateway error: Unable to read response or response is empty" when I try to post payments to authorize.net. Authorize.net cannot see anything coming through, host provider says no issues on their end.
I am using the Authorize.net payment type
I have verified my API login and trans ID in default, website, and store view
I have installed cURL SSL
I have verified no firewalls are blocking connections.
I am not in testmode
debugging is on, and results are below.
Below is the output from the exception.log file
2013-09-26T15:26:24+00:00 ERR (3):
exception 'Mage_Core_Exception' with message 'Gateway error: Unable to read response, or response is empty' in /app/Mage.php:595
Stack trace:
#0 /app/code/core/Mage/Paygate/Model/Authorizenet.php(1596): Mage::throwException('Gateway error: ...')
#1 /app/code/core/Mage/Paygate/Model/Authorizenet.php(594): Mage_Paygate_Model_Authorizenet->_postRequest(Object(Mage_Paygate_Model_Authorizenet_Request))
#2 /app/code/core/Mage/Paygate/Model/Authorizenet.php(436): Mage_Paygate_Model_Authorizenet->_place(Object(Strattas_Authnetcim_Model_Order_Payment), '44.53', 'AUTH_CAPTURE')
#3 /app/code/core/Mage/Sales/Model/Order/Payment.php(408): Mage_Paygate_Model_Authorizenet->capture(Object(Strattas_Authnetcim_Model_Order_Payment), '44.53')
#4 /app/code/core/Mage/Sales/Model/Order/Invoice.php(385): Mage_Sales_Model_Order_Payment->capture(Object(Mage_Sales_Model_Order_Invoice))
#5 /app/code/core/Mage/Sales/Model/Order/Payment.php(569): Mage_Sales_Model_Order_Invoice->capture()
#6 /app/code/core/Mage/Sales/Model/Order/Payment.php(375): Mage_Sales_Model_Order_Payment->_invoice()
#7 /home/morrell/public_html/app/code/core/Mage/Sales/Model/Order/Payment.php(317): Mage_Sales_Model_Order_Payment->capture(NULL)
#8 /app/code/core/Mage/Sales/Model/Order.php(877): Mage_Sales_Model_Order_Payment->place()
#9 /app/code/core/Mage/Sales/Model/Order.php(1406): Mage_Sales_Model_Order->_placePayment()
#10 [internal function]: Mage_Sales_Model_Order->place()
#11 /app/code/core/Mage/Core/Model/Resource/Transaction.php(105): call_user_func(Array)
#12 /app/code/core/Mage/Core/Model/Resource/Transaction.php(159): Mage_Core_Model_Resource_Transaction->_runCallbacks()
#13 /app/code/core/Mage/Sales/Model/Service/Quote.php(189): Mage_Core_Model_Resource_Transaction->save()
#14 /app/code/core/Mage/Sales/Model/Service/Quote.php(249): Mage_Sales_Model_Service_Quote->submitOrder()
#15 /home/morrell/public_html/app/code/core/Mage/Checkout/Model/Type/Onepage.php(777): Mage_Sales_Model_Service_Quote->submitAll()
#16 /app/code/core/Mage/Checkout/controllers/OnepageController.php(567): Mage_Checkout_Model_Type_Onepage->saveOrder()
#17 /app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Checkout_OnepageController->saveOrderAction()
#18 /home/morrell/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('saveOrder')
#19 /app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#20 /app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#21 /app/Mage.php(687): Mage_Core_Model_App->run(Array)
#22 /index.php(87): Mage::run('', 'store')
#23 {main}

i think you enabled Test Mode in System->Configuration->PaymentMethods

Turns out there was an issue with my nameservers at my host. I figured this out using information here: http://www.magentocommerce.com/boards/viewthread/50611/ (the referenced thread can be viewed in the internet archive, here https://web.archive.org/web/20150315055800/http://www.magentocommerce.com/boards/viewthread/50611 )
After that I received an error message associated with a blocked IP. I added my new ip at accounts.authorize.net in Tools (top menu) > Fraud Suite (left menu) > Authorized AIM ip addresses (body, second to last item).

Related

Magento error after Upgrade : Can't perform operation, incomplete metadata

I have updated version of Magento EE 12.2 to Magento 14.2.0.2 but i get error when update or create product and category. Error massage is "Can't perform operation, incomplete metadata!"
I have also tried 'Enterprise_Index_Model_Action_Exception' with message 'Can't perform operation, incomplete metadata!' but not work for me.
Here is screenshot of error.
2016-06-20T12:36:57+00:00 ERR (3):
exception 'Enterprise_Index_Model_Action_Exception' with message 'Can't perform operation, incomplete metadata!' in app\code\core\Enterprise\Index\Model\Action\Abstract.php:125
Stack trace:
#0 app\code\core\Enterprise\CatalogInventory\Model\Index\Action\Refresh\Row.php(69): Enterprise_Index_Model_Action_Abstract->_validate()
#1 app\code\core\Enterprise\Mview\Model\Client.php(123): Enterprise_CatalogInventory_Model_Index_Action_Refresh_Row->execute()
#2 app\code\core\Enterprise\CatalogInventory\Model\Index\Observer.php(53): Enterprise_Mview_Model_Client->execute('enterprise_cata...', Array)
#3 app\code\core\Mage\Core\Model\App.php(1358): Enterprise_CatalogInventory_Model_Index_Observer->processStockItemSaveEvent(Object(Varien_Event_Observer))
#4 app\code\core\Mage\Core\Model\App.php(1337): Mage_Core_Model_App->_callObserverMethod(Object(Enterprise_CatalogInventory_Model_Index_Observer), 'processStockIte...', Object(Varien_Event_Observer))
#5 app\Mage.php(448): Mage_Core_Model_App->dispatchEvent('cataloginventor...', Array)
#6 app\code\core\Mage\Core\Model\Abstract.php(344): Mage::dispatchEvent('cataloginventor...', Array)
#7 app\code\core\Mage\CatalogInventory\Model\Stock\Item.php(893): Mage_Core_Model_Abstract->afterCommitCallback()
#8 [internal function]: Mage_CatalogInventory_Model_Stock_Item->afterCommitCallback()
#9 app\code\core\Mage\Core\Model\Resource\Abstract.php(110): call_user_func(Array)
#10 app\code\core\Mage\Core\Model\Abstract.php(322): Mage_Core_Model_Resource_Abstract->commit()
#11 app\code\core\Mage\Adminhtml\controllers\Catalog\ProductController.php(728): Mage_Core_Model_Abstract->save()
#12 app\code\core\Mage\Core\Controller\Varien\Action.php(418): Mage_Adminhtml_Catalog_ProductController->saveAction()
#13 app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('save')
#14 app\code\core\Mage\Core\Controller\Varien\Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#15 app\code\core\Mage\Core\Model\App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#16 app\Mage.php(684): Mage_Core_Model_App->run(Array)
#17 index.php(83): Mage::run('', 'store')
#18 {main}
Try to use php 5.3 disabling warnings and notices. It avoids some code warnings deprecation in old version.
If you get some invalid function name in the middle, go upgrading to 5.4, 5.5, etc.
It usually works for me. ;)

Magento admin giving 500 error - nothing in logs

My Magento-admin stopped working after I tried to install a extension. Now I get a 500 error when I try to access the /admin. Strange thing is that nothing shows up in the error_log. Developer mode log:
Notice: Undefined index: httponly in
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php on
line 7349
#0
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(7349):
mageCoreErrorHandler(8, 'Undefined index...', '/var/www/vhosts...',
7349, Array) #1
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(7421):
Mage_Core_Model_Session_Abstract_Varien->start('adminhtml') #2
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(7777):
Mage_Core_Model_Session_Abstract_Varien->init('core', 'adminhtml') #3
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(33479):
Mage_Core_Model_Session_Abstract->init('core', 'adminhtml') #4
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(23438):
Mage_Core_Model_Session->__construct(Array) #5
/var/www/vhosts/mydomain.com/httpdocs/app/Mage.php(462):
Mage_Core_Model_Config->getModelInstance('core/session', Array) #6
/var/www/vhosts/mydomain.com/httpdocs/app/Mage.php(476):
Mage::getModel('core/session', Array) #7
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(13658):
Mage::getSingleton('core/session', Array) #8
/var/www/vhosts/mydomain.com/httpdocs/includes/src/Mage_Adminhtml_Controller_Action.php(160):
Mage_Core_Controller_Varien_Action->preDispatch() #9
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(13572):
Mage_Adminhtml_Controller_Action->preDispatch() #10
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(17928):
Mage_Core_Controller_Varien_Action->dispatch('index') #11
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(17485):
Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#12
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(20062):
Mage_Core_Controller_Varien_Front->dispatch() #13
/var/www/vhosts/mydomain.com/httpdocs/app/Mage.php(683):
Mage_Core_Model_App->run(Array) #14
/var/www/vhosts/mydomain.com/httpdocs/index.php(94): Mage::run('',
'store') #15 {main}
Already tried uninstalling the extension, no luck. What should I do to find the cause of the error?
Please, firstly disable compilation, use this:
php -f your_project_folder/shell/compiler.php clear
php -f your_project_folder/shell/compiler.php disable
Then clear cache var/cache. You can just remove this folder.

Magento error after extension installation

I have installed extension from magento connect from website and logged out but when I tried to access admin panel but now I am getting error.
"There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 1303816771146"
when i traced error file under var/report i found following error report.
"a:5:{i:0;s:71:"Mage registry key "_singleton/emailattachments/observer" already exists";i:1;s:2604:"
#0 /home/globaltrimming12/public_html/app/Mage.php(223): Mage::throwException('Mage registry k...')
#1 /home/globaltrimming12/public_html/app/Mage.php(477): Mage::register('_singleton/emai...', false)
#2 /home/globaltrimming12/public_html/includes/src/__default.php(21770): Mage::getSingleton('emailattachment...')
#3 /home/globaltrimming12/public_html/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('core_block_abst...', Array)
#4 /home/globaltrimming12/public_html/includes/src/__default.php(1988): Mage::dispatchEvent('core_block_abst...', Array)
#5 /home/globaltrimming12/public_html/includes/src/__default.php(28179): Mage_Core_Block_Abstract->setLayout(Object(Codnitive_Extifcon_Model_Core_Layout))
#6 /home/globaltrimming12/public_html/includes/src/__default.php(28195): Mage_Core_Model_Layout->createBlock('adminhtml/page_...', 'head')
#7 /home/globaltrimming12/public_html/includes/src/__default.php(27962): Mage_Core_Model_Layout->addBlock('adminhtml/page_...', 'head')
#8 /home/globaltrimming12/public_html/includes/src/__default.php(27928): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#9 /home/globaltrimming12/public_html/includes/src/__default.php(27929): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#10 /home/globaltrimming12/public_html/includes/src/__default.php(14024): Mage_Core_Model_Layout->generateBlocks()
#11 /home/globaltrimming12/public_html/includes/src/__default.php(13949): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#12 /home/globaltrimming12/public_html/includes/src/Mage_Adminhtml_Controller_Action.php(275): Mage_Core_Controller_Varien_Action->loadLayout(NULL, true, true)
#13 /home/globaltrimming12/public_html/app/code/core/Mage/Adminhtml/controllers/IndexController.php(81): Mage_Adminhtml_Controller_Action->loadLayout()
#14 /home/globaltrimming12/public_html/includes/src/__default.php(14098): Mage_Adminhtml_IndexController->loginAction()
#15 /home/globaltrimming12/public_html/includes/src/__default.php(18482): Mage_Core_Controller_Varien_Action->dispatch('login')
#16 /home/globaltrimming12/public_html/includes/src/__default.php(18016): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#17 /home/globaltrimming12/public_html/includes/src/__default.php(20808): Mage_Core_Controller_Varien_Front->dispatch()
#18 /home/globaltrimming12/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#19 /home/globaltrimming12/public_html/index.php(87): Mage::run('', 'store')
#20 {main}";s:3:"url";s:7:"/admin/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}"
please let me know where to do changes so I can be able to login to admin panel.
Seems like, your magento compilation is on. Always turn compilation off before installing an extension, and of course disable cache. Find more info on compilation here.

citruspay magento on checkout shows error

Error log file
a:5:{i:0;s:362:"parse_ini_file() [<a href='function.parse-ini-file'>function.parse-ini-file</a>]: Unable to access /home/iyurway2/public_html/includes/src/../../config/citruspay.ini
parse_ini_file(/home/iyurway2/public_html/includes/src/../../config/citruspay.ini) [<a href='function.parse-ini-file'>function.parse-ini-file</a>]: failed to open stream: No such file or directory";i:1;s:1290:"#0 /home/iyurway2/public_html/includes/src/Zend/Config/Ini.php(202): Zend_Config_Ini->_parseIniFile('/home/iyurway2/...')
#1 /home/iyurway2/public_html/includes/src/Zend/Config/Ini.php(126): Zend_Config_Ini- >_loadIniFile('/home/iyurway2/...')
#2 /home/iyurway2/public_html/includes/src/CitrusPay_Moto_Block_Form_Pay.php(56): Zend_Config_Ini->__construct('/home/iyurway2/...', 'production')
#3 /home/iyurway2/public_html/includes/src/__default.php(2592): CitrusPay_Moto_Block_Form_Pay- >_toHtml()
#4 /home/iyurway2/public_html/app/code/community/CitrusPay/Moto/controllers/IndexController.php(9): Mage_Core_Block_Abstract->toHtml()
#5 /home/iyurway2/public_html/includes/src/__default.php(13969): CitrusPay_Moto_IndexController->indexAction()
#6 /home/iyurway2/public_html/includes/src/__default.php(18339): Mage_Core_Controller_Varien_Action->dispatch('index')
#7 /home/iyurway2/public_html/includes/src/__default.php(17873): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#8 /home/iyurway2/public_html/includes/src/__default.php(20473): Mage_Core_Controller_Varien_Front->dispatch()
#9 /home/iyurway2/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#10 /home/iyurway2/public_html/index.php(87): Mage::run('', 'store')
#11 {main}";s:3:"url";s:18:"/moto/index/index/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}
When we try to check-out in the magento site, we are facing this issue. We are using CitrusPay payment gateway and the site should actually get redirected to citrus website. But instead of that we are seeing this error screen with reference to that log message.
Please help me solve the issue.
I think your site compiler mode is on. Please disable compiler mode and check it.

Magento Login to Admin panel throws "Email already exists."

I recently upgraded my Magento system to 1.7.2 and i had several problems.
Most of them were easy to fix but this one is hard.
My problem was that i couldn't log-in as a customer or as an admin to the panel except of 1 user.
So as i got an advice from the internet saying to flush the permission of the admin group.
I did that and now everytime i try to log in to gives me this exception:
Email already exists.
#0 /home/bellater/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(676): Mage::throwException('Email already e...')
#1 /home/bellater/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(424): Mage_Core_Model_Resource_Db_Abstract->_checkUnique(Object(Mage_Admin_Model_User))
#2 /home/bellater/public_html/app/code/core/Mage/Core/Model/Abstract.php(318): Mage_Core_Model_Resource_Db_Abstract->save(Object(Mage_Admin_Model_User))
#3 /home/bellater/public_html/app/code/core/Mage/Admin/Model/Session.php(142): Mage_Core_Model_Abstract->save()
#4 /home/bellater/public_html/app/code/core/Mage/Admin/Model/Observer.php(95): Mage_Admin_Model_Session->refreshAcl()
#5 /home/bellater/public_html/app/code/core/Mage/Core/Model/App.php(1338): Mage_Admin_Model_Observer->actionPreDispatchAdmin(Object(Varien_Event_Observer))
#6 /home/bellater/public_html/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Admin_Model_Observer), 'actionPreDispat...', Object(Varien_Event_Observer))
#7 /home/bellater/public_html/app/Mage.php(447): Mage_Core_Model_App-dispatchEvent('controller_acti...', Array)
#8 /home/bellater/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(528): Mage::dispatchEvent('controller_acti...', Array)
#9 /home/bellater/public_html/app/code/core/Mage/Adminhtml/Controller/Action.php(160): Mage_Core_Controller_Varien_Action->preDispatch()
#10 /home/bellater/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(408): Mage_Adminhtml_Controller_Action->preDispatch()
#11 /home/bellater/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#12 /home/bellater/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard-match(Object(Mage_Core_Controller_Request_Http))
#13 /home/bellater/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#14 /home/bellater/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#15 /home/bellater/public_html/index.php(87): Mage::run('', 'store')
#16 {main}
can anyone help me please?

Categories