@@ -22,7 +22,7 @@ |
||
22 | 22 | $responseTransfer = $quoteTransfer->getPayment()->getComputopPayNow()->getPayNowInitResponse(); |
23 | 23 | $this->setPaymentEntity($responseTransfer->getHeader()->getTransId()); |
24 | 24 | if ($responseTransfer->getHeader()->getIsSuccess()) { |
25 | - $this->handleDatabaseTransaction(function () use ($responseTransfer) { |
|
25 | + $this->handleDatabaseTransaction(function() use ($responseTransfer) { |
|
26 | 26 | $this->savePaymentComputopEntity($responseTransfer); |
27 | 27 | $this->savePaymentComputopDetailEntity($responseTransfer); |
28 | 28 | $this->savePaymentComputopOrderItemsEntities(); |
@@ -22,7 +22,7 @@ |
||
22 | 22 | $responseTransfer = $quoteTransfer->getPayment()->getComputopCreditCard()->getCreditCardInitResponse(); |
23 | 23 | $this->setPaymentEntity($responseTransfer->getHeader()->getTransId()); |
24 | 24 | if ($responseTransfer->getHeader()->getIsSuccess()) { |
25 | - $this->handleDatabaseTransaction(function () use ($responseTransfer) { |
|
25 | + $this->handleDatabaseTransaction(function() use ($responseTransfer) { |
|
26 | 26 | $this->savePaymentComputopEntity($responseTransfer); |
27 | 27 | $this->savePaymentComputopDetailEntity($responseTransfer); |
28 | 28 | $this->savePaymentComputopOrderItemsEntities(); |
@@ -22,7 +22,7 @@ |
||
22 | 22 | $responseTransfer = $quoteTransfer->getPayment()->getComputopSofort()->getSofortInitResponse(); |
23 | 23 | $this->setPaymentEntity($responseTransfer->getHeader()->getTransId()); |
24 | 24 | if ($responseTransfer->getHeader()->getIsSuccess()) { |
25 | - $this->handleDatabaseTransaction(function () use ($responseTransfer) { |
|
25 | + $this->handleDatabaseTransaction(function() use ($responseTransfer) { |
|
26 | 26 | $this->savePaymentComputopEntity($responseTransfer); |
27 | 27 | $this->savePaymentComputopDetailEntity($responseTransfer); |
28 | 28 | $this->savePaymentComputopOrderItemsEntities(); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | */ |
27 | 27 | public function save(TransferInterface $responseTransfer, OrderTransfer $orderTransfer) |
28 | 28 | { |
29 | - $this->handleDatabaseTransaction(function () use ($responseTransfer, $orderTransfer) { |
|
29 | + $this->handleDatabaseTransaction(function() use ($responseTransfer, $orderTransfer) { |
|
30 | 30 | $this->saveComputopDetails($responseTransfer, $orderTransfer); |
31 | 31 | }); |
32 | 32 |
@@ -59,7 +59,7 @@ |
||
59 | 59 | */ |
60 | 60 | protected function getUrlToComputop($merchantId, $data, $length) |
61 | 61 | { |
62 | - return $this->getActionUrl() . '?' . http_build_query([ |
|
62 | + return $this->getActionUrl().'?'.http_build_query([ |
|
63 | 63 | ComputopApiConfig::MERCHANT_ID => $merchantId, |
64 | 64 | ComputopApiConfig::DATA => $data, |
65 | 65 | ComputopApiConfig::LENGTH => $length, |
@@ -113,7 +113,7 @@ |
||
113 | 113 | $paymentSelection = $quoteTransfer->getPayment()->getPaymentSelection(); |
114 | 114 | |
115 | 115 | $paymentMethod = ucfirst($paymentSelection); |
116 | - $method = 'get' . $paymentMethod; |
|
116 | + $method = 'get'.$paymentMethod; |
|
117 | 117 | $paymentTransfer = $quoteTransfer->getPayment(); |
118 | 118 | |
119 | 119 | if (!method_exists($paymentTransfer, $method) || ($quoteTransfer->getPayment()->$method() === null)) { |
@@ -100,7 +100,7 @@ |
||
100 | 100 | $this->computopTransfer = $this->activeMapper->getComputopTransfer($quoteTransfer->getPayment()); |
101 | 101 | $this->computopResponseTransfer = $this->activeMapper->getComputopResponseTransfer($quoteTransfer->getPayment()); |
102 | 102 | |
103 | - $this->handleDatabaseTransaction(function () use ($quoteTransfer, $checkoutResponseTransfer) { |
|
103 | + $this->handleDatabaseTransaction(function() use ($quoteTransfer, $checkoutResponseTransfer) { |
|
104 | 104 | |
105 | 105 | $paymentEntity = $this->savePaymentForOrder( |
106 | 106 | $quoteTransfer->getPayment(), |
@@ -33,7 +33,7 @@ |
||
33 | 33 | */ |
34 | 34 | protected function addZedRequestClient(Container $container) |
35 | 35 | { |
36 | - $container[static::CLIENT_ZED_REQUEST] = function (Container $container) { |
|
36 | + $container[static::CLIENT_ZED_REQUEST] = function(Container $container) { |
|
37 | 37 | return $container->getLocator()->zedRequest()->client(); |
38 | 38 | }; |
39 | 39 |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | */ |
28 | 28 | public function logResponse(ComputopApiResponseHeaderTransfer $responseTransfer) |
29 | 29 | { |
30 | - $this->getFactory()->createZedStub()->logResponse($responseTransfer); |
|
30 | + $this->getFactory()->createZedStub()->logResponse($responseTransfer); |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | */ |
42 | 42 | public function saveSofortInitResponse(QuoteTransfer $quoteTransfer) |
43 | 43 | { |
44 | - return $this->getFactory()->createZedStub()->saveSofortInitResponse($quoteTransfer); |
|
44 | + return $this->getFactory()->createZedStub()->saveSofortInitResponse($quoteTransfer); |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | /** |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | */ |
56 | 56 | public function saveIdealInitResponse(QuoteTransfer $quoteTransfer) |
57 | 57 | { |
58 | - return $this->getFactory()->createZedStub()->saveIdealInitResponse($quoteTransfer); |
|
58 | + return $this->getFactory()->createZedStub()->saveIdealInitResponse($quoteTransfer); |
|
59 | 59 | } |
60 | 60 | |
61 | 61 | /** |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | */ |
70 | 70 | public function savePaydirektInitResponse(QuoteTransfer $quoteTransfer) |
71 | 71 | { |
72 | - return $this->getFactory()->createZedStub()->savePaydirektInitResponse($quoteTransfer); |
|
72 | + return $this->getFactory()->createZedStub()->savePaydirektInitResponse($quoteTransfer); |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | */ |
154 | 154 | public function easyCreditStatusApiCall(QuoteTransfer $quoteTransfer) |
155 | 155 | { |
156 | - return $this->getFactory()->createZedStub()->easyCreditStatusApiCall($quoteTransfer); |
|
156 | + return $this->getFactory()->createZedStub()->easyCreditStatusApiCall($quoteTransfer); |
|
157 | 157 | } |
158 | 158 | |
159 | 159 | /** |