I’ve created a custom payment gateway but now I need to handle post payment notifications (just like IPN) to append additional information for a given transaction.
I’ve tried a lot of different combinations including:
Mage::getModel('sales/order')->load('#id')
->getPayment()
->getTransaction('#id')
->setAdditionalInformation('foo', 'bar')
->save();
Which doesn’t produce any error (I’m able to retrieve order/payment/transaction)
But save action seems to be inoperant. I also tried to save through the payment object without luck.
Found out by myself 😛