Twig/PaymillExtension.php
public function renderPaymentView($viewTemplate = null)
    {
        $formType = $this->formFactory->create('paymill_view');

        $this->environment->display($viewTemplate ?: $this->viewTemplate, array(
            'paymill_form'          =>  $formType->createView(),
        ));
    }
public function renderPaymentView($viewTemplate = null)
    {
        $formType = $this->formFactory->create('paymill_view');

        $this->environment->display($viewTemplate ?: $this->viewTemplate, array(
            'paymill_form'          =>  $formType->createView(),
        ));
    }
public function renderPaymentView ( $ viewTemplate = null ) { $ formType = $ this -> formFactory -> create ( 'paymill_view' ) ; $ this -> environment -> display ( $ viewTemplate ? : $ this -> viewTemplate , array ( 'paymill_form' => $ formType -> createView ( ) , ) ) ; }
Render paymill form view

@param string $viewTemplate An optional template to render.

@return void
Render paymill form view