@@ -3,9 +3,9 @@ |
||
3 | 3 | |
4 | 4 | use Loevgaard\DandomainAltapayBundle\Entity\PaymentInterface; |
5 | 5 | use Loevgaard\DandomainAltapayBundle\Manager\PaymentManager; |
6 | -use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
|
7 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
8 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
7 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
8 | +use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
|
9 | 9 | use Symfony\Component\HttpFoundation\Request; |
10 | 10 | use Symfony\Component\HttpFoundation\Response; |
11 | 11 |
@@ -1,15 +1,15 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Loevgaard\DandomainAltapayBundle\Controller; |
3 | 3 | |
4 | -use Loevgaard\AltaPay\Payload\PaymentRequest as PaymentRequestPayload; |
|
5 | 4 | use Loevgaard\AltaPay\Payload\OrderLine as OrderLinePayload; |
5 | +use Loevgaard\AltaPay\Payload\PaymentRequest as PaymentRequestPayload; |
|
6 | 6 | use Loevgaard\AltaPay\Payload\PaymentRequest\Config as ConfigPayload; |
7 | -use Loevgaard\Dandomain\Pay\Handler; |
|
8 | 7 | use Loevgaard\DandomainAltapayBundle\Exception\ChecksumMismatchException; |
9 | 8 | use Loevgaard\DandomainAltapayBundle\Exception\TerminalNotFoundException; |
10 | -use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
|
11 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
9 | +use Loevgaard\Dandomain\Pay\Handler; |
|
12 | 10 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
11 | +use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
12 | +use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
|
13 | 13 | use Symfony\Component\HttpFoundation\RedirectResponse; |
14 | 14 | use Symfony\Component\HttpFoundation\Request; |
15 | 15 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
@@ -2,7 +2,7 @@ |
||
2 | 2 | namespace Loevgaard\DandomainAltapayBundle\Entity; |
3 | 3 | |
4 | 4 | use Doctrine\Common\Collections\ArrayCollection; |
5 | -use Doctrine\ORM\Mapping AS ORM; |
|
5 | +use Doctrine\ORM\Mapping as ORM; |
|
6 | 6 | use Knp\DoctrineBehaviors\Model as ORMBehaviors; |
7 | 7 | use Loevgaard\DandomainFoundationBundle\Model\OrderInterface; |
8 | 8 |
@@ -2,16 +2,16 @@ |
||
2 | 2 | namespace Loevgaard\DandomainAltapayBundle\Manager; |
3 | 3 | |
4 | 4 | use Doctrine\Common\Persistence\ObjectManager; |
5 | -use Loevgaard\Dandomain\Pay\PaymentRequest; |
|
6 | 5 | use Loevgaard\DandomainAltapayBundle\Entity\PaymentInterface; |
6 | +use Loevgaard\DandomainFoundationBundle\Manager\CustomerManager; |
|
7 | +use Loevgaard\DandomainFoundationBundle\Manager\DeliveryManager; |
|
7 | 8 | use Loevgaard\DandomainFoundationBundle\Manager\Manager; |
8 | -use Loevgaard\DandomainFoundationBundle\Manager\OrderManager; |
|
9 | 9 | use Loevgaard\DandomainFoundationBundle\Manager\OrderLineManager; |
10 | +use Loevgaard\DandomainFoundationBundle\Manager\OrderManager; |
|
10 | 11 | use Loevgaard\DandomainFoundationBundle\Manager\PaymentMethodManager; |
11 | 12 | use Loevgaard\DandomainFoundationBundle\Manager\ShippingMethodManager; |
12 | 13 | use Loevgaard\DandomainFoundationBundle\Manager\SiteManager; |
13 | -use Loevgaard\DandomainFoundationBundle\Manager\CustomerManager; |
|
14 | -use Loevgaard\DandomainFoundationBundle\Manager\DeliveryManager; |
|
14 | +use Loevgaard\Dandomain\Pay\PaymentRequest; |
|
15 | 15 | |
16 | 16 | /** |
17 | 17 | * @method PaymentInterface create() |