On magento app/code/core/Mage/Paypal/controllers/IpnController.php i need the order id in
try
{
}
public function indexAction()
{
if (!$this->getRequest()->isPost()) {
return;
}
try {
$data = $this->getRequest()->getPost();
Mage::getModel('paypal/ipn')->processIpnRequest($data, new Varien_Http_Adapter_Curl());
} catch (Exception $e) {
Mage::logException($e);
$this->getResponse()->setHttpResponseCode(500);
}
}
The Problem is that we need to update an another database with order info after the payment is done by Paypal.