After a successful checkout/confirmation step, I want to show to the customer the bank details, if he choosed bank transfer as payment. Thus I installed a module bank payment (http://www.magentocommerce.com/extension/reviews/module/304) and created a function in app/code/local/Mage/Checkout/Block/Onepage/Success.php to return detailed bank information to app/design/frontend/default/my_theme/template/checkout/success.phtml.
With this function I want to extract the detailed bank information but I don’t know how to get from the order information ($order = Mage::getModel(’sales/order’)->load(Mage::getSingleton(’checkout/session’)->getLastOrderId());) to the detailed bank information.
1.) Is there any ressource, to explain Magento’s architecture for php-beginners? I didn’t find anything to get an overview.
2.) Does anybody know, how to extract the detailed bank information? (How to come from the order-object to the payment-object, so that I can use “getConfigData()")
Thx for any help.
I use Magento 1.3.