Retrieve Authorize.net API keys from magento database.
Magento encrypts your authorize.net keys. Here’s how to retrieve them.
In the database, run this query.
select value from core_config_data where path IN ("payment/authorizenet/login", "payment/authorizenet/trans_key");
That should return 2 rows. Copy those rows into the following script and run it.
require_once("app/Mage.php"); //your actual path Mage::app()->setCurrentStore(1); $hlp = Mage::helper('core'); //The keys echo ($hlp->decrypt("FAKEYPiqkMKgprIv8kfp0wqQ==") . "\n"); echo ($hlp->decrypt("FAKEDjCTFxqdkwOYoUyD0OdQ==") . "\n");
VoilĂ !
Recent Comments