*/ class Mage_XmlConnect_Block_Checkout_Pbridge_Result extends Mage_Core_Block_Template { /** * Return url for redirect with params of Payment Bridge incoming data * * @return string */ public function getPbridgeParamsAsUrl() { $pbParams = Mage::helper('enterprise_pbridge')->getPbridgeParams(); $params = array_merge( array('_nosid' => true, 'method' => 'pbridge_' . $pbParams['original_payment_method']), $pbParams ); return Mage::getUrl('xmlconnect/pbridge/output', $params); } }