/**
  * Payment execution.
  *
  * @return Response
  */
 public function executeAction()
 {
     /**
      * The execute action will generate the Redsys
      * checkout form before redirecting
      */
     $formView = $this->redsysManager->processPayment();
     return new Response($this->templatingEngine->render('RedsysBundle:Redsys:process.html.twig', ['redsys_form' => $formView]));
 }
Пример #2
0
 /**
  * Payment execution.
  *
  * @return Response
  */
 public function executeAction()
 {
     /**
      * The execute action will generate the Paypal web
      * checkout form before redirecting.
      */
     $formView = $this->redsysManager->processPayment();
     return new Response($this->templatingEngine->render('PaypalWebCheckoutBundle:Paypal:process.html.twig', ['paypal_form' => $formView]));
 }