PHP Class Sonata\PaymentBundle\Controller\PaymentController

Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller\Controller
Show file Open project: sonata-project/ecommerce

Public Methods

Method Description
callbackAction ( ) : Symfony\Bundle\FrameworkBundle\Controller\Response this action handler the callback sent from the bank.
confirmationAction ( ) : Symfony\Bundle\FrameworkBundle\Controller\Response
errorAction ( ) : Response This action is called by the user after the sendbank In most case the order is already cancelled by a previous callback.
sendbankAction ( ) : Symfony\Bundle\FrameworkBundle\Controller\Response this action redirect the user to the bank.
termsAction ( )

Protected Methods

Method Description
getBasket ( ) : Basket
getBasketFactory ( ) : Sonata\Component\Basket\BasketFactoryInterface
getPaymentHandler ( ) : Sonata\Component\Payment\PaymentHandlerInterface

Method Details

callbackAction() public method

this action handler the callback sent from the bank.
public callbackAction ( ) : Symfony\Bundle\FrameworkBundle\Controller\Response
return Symfony\Bundle\FrameworkBundle\Controller\Response

confirmationAction() public method

public confirmationAction ( ) : Symfony\Bundle\FrameworkBundle\Controller\Response
return Symfony\Bundle\FrameworkBundle\Controller\Response

errorAction() public method

This action is called by the user after the sendbank In most case the order is already cancelled by a previous callback.
public errorAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

getBasket() protected method

protected getBasket ( ) : Basket
return Sonata\Component\Basket\Basket

getBasketFactory() protected method

protected getBasketFactory ( ) : Sonata\Component\Basket\BasketFactoryInterface
return Sonata\Component\Basket\BasketFactoryInterface

getPaymentHandler() protected method

protected getPaymentHandler ( ) : Sonata\Component\Payment\PaymentHandlerInterface
return Sonata\Component\Payment\PaymentHandlerInterface

sendbankAction() public method

this action redirect the user to the bank.
public sendbankAction ( ) : Symfony\Bundle\FrameworkBundle\Controller\Response
return Symfony\Bundle\FrameworkBundle\Controller\Response

termsAction() public method

public termsAction ( )