public function getPaymentSuccessPageUrl($order_id)
    {
        $frontOfficeRouter = $this->getContainer()->get('router.front');

        return URL::getInstance()->absoluteUrl(
            $frontOfficeRouter->generate(
                "order.placed",
                array("order_id" => $order_id),
                Router::ABSOLUTE_URL
            )
        );
    }
public function getPaymentSuccessPageUrl($order_id)
    {
        $frontOfficeRouter = $this->getContainer()->get('router.front');

        return URL::getInstance()->absoluteUrl(
            $frontOfficeRouter->generate(
                "order.placed",
                array("order_id" => $order_id),
                Router::ABSOLUTE_URL
            )
        );
    }
public function getPaymentSuccessPageUrl ( $ order_id ) { $ frontOfficeRouter = $ this -> getContainer ( ) -> get ( 'router.front' ) ; return URL :: getInstance ( ) -> absoluteUrl ( $ frontOfficeRouter -> generate ( "order.placed" , array ( "order_id" => $ order_id ) , Router :: ABSOLUTE_URL ) ) ; }
Return the order payment success page URL

@param  int    $order_id the order ID
@return string the order payment success page URL
Return the order payment success page URL