I need to get all order details which includes all payment details, customer details, and shipping details or say all details of a order. For this I have use a event in my config file
checkout_onepage_controller_success_action
and the function in my observer file is
public function getorderrealid($observer) {
print_r($observer->getData());
}
the function triggers properly, but it returns the following array
Array
(
[event] => Varien_Event Object
(
[_observers:protected] => Varien_Event_Observer_Collection Object
(
[_observers:protected] => Array
(
)
)
[_data:protected] => Array
(
[order_ids] => Array
(
[0] => 66
)
[name] => checkout_onepage_controller_success_action
)
[_hasDataChanges:protected] =>
[_origData:protected] =>
[_idFieldName:protected] =>
[_isDeleted:protected] =>
[_oldFieldsMap:protected] => Array
(
)
[_syncFieldsMap:protected] => Array
(
)
)
[order_ids] => Array
(
[0] => 66
)
)
It gives only order id.
Please suggest how I can get all details of an order.