Passed
Pull Request — master (#82)
by
unknown
04:31 queued 01:31
created
controllers/notifyController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -251,11 +251,11 @@
 block discarded – undo
251 251
 
252 252
         if (!$this->woocommerceOrder->has_status($isValidStatus)) { // TO CONFIRM
253 253
             $logMessage = "WARNING checkMerchantOrderStatus." .
254
-                          " Merchant order id:".$this->woocommerceOrder->get_id().
255
-                          " Merchant order status:".$this->woocommerceOrder->get_status().
256
-                          " Pagantis order id:".$this->pagantisOrder->getStatus().
257
-                          " Pagantis order status:".$this->pagantisOrder->getId().
258
-                          " Pagantis urlToken: ".$this->getVerificationToken();
254
+                            " Merchant order id:".$this->woocommerceOrder->get_id().
255
+                            " Merchant order status:".$this->woocommerceOrder->get_status().
256
+                            " Pagantis order id:".$this->pagantisOrder->getStatus().
257
+                            " Pagantis order status:".$this->pagantisOrder->getId().
258
+                            " Pagantis urlToken: ".$this->getVerificationToken();
259 259
             
260 260
             $this->insertLog(null, $logMessage);
261 261
             $this->woocommerceOrder->add_order_note($logMessage);
Please login to merge, or discard this patch.
controllers/paymentController4x.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -259,9 +259,9 @@  discard block
 block discarded – undo
259 259
                 if ($promotedProduct == 'true') {
260 260
                     $promotedAmount+=$product->getAmount();
261 261
                     $promotedMessage = 'Promoted Item: ' . $wcProduct->get_name() .
262
-                                       ' - Price: ' . $item->get_total() .
263
-                                       ' - Qty: ' . $product->getQuantity() .
264
-                                       ' - Item ID: ' . $item['id_product'];
262
+                                        ' - Price: ' . $item->get_total() .
263
+                                        ' - Qty: ' . $product->getQuantity() .
264
+                                        ' - Item ID: ' . $item['id_product'];
265 265
                     $promotedMessage = substr($promotedMessage, 0, 999);
266 266
                     $metadataOrder->addMetadata('promotedProduct', $promotedMessage);
267 267
                 }
@@ -277,10 +277,10 @@  discard block
 block discarded – undo
277 277
             $orderConfigurationUrls = new Urls();
278 278
             $cancelUrl = $this->getKoUrl($order);
279 279
             $callback_arg = array('wc-api'=>'wcpagantisgateway',
280
-                                  'key'=>$order->get_order_key(),
281
-                                  'order-received'=>$order->get_id(),
282
-                                  'origin' => '',
283
-                                  'token' => $this->paymentProcessingToken4x
280
+                                    'key'=>$order->get_order_key(),
281
+                                    'order-received'=>$order->get_id(),
282
+                                    'origin' => '',
283
+                                    'token' => $this->paymentProcessingToken4x
284 284
             );
285 285
 
286 286
             $callback_arg_user = $callback_arg;
Please login to merge, or discard this patch.