The problem is to get the shipping address:
I tried to get the shipping address from the $data ($data = $this->getRequest()->getPost(’shipping’, array());) in saveShippingAction function in OnePageController.php.
This is working if am checking out as a guest but not if I am already logged in . how can I get the shipping address in both the case.?
My another problem is I am not able to get the shipping address in the shipping module which I created( class MagentoBook_ShippingModule_Model_Carrier_BareBonesMethod ). after debugging I found that my shipping module is executing before executing the funtion ‘saveShippingAction’ in OnePageController. In this case how can I get the shipping address in my newly created shipping module ? because I need to send a request to a shipping gateway(Fraktjakt) inorder to get the available shipping carriers. So I need shipping address, origin address to make a request.
Any kind of help will greatly appreaciated