Skip to content

Commit

Permalink
Merge pull request #28 from signifyd/stage
Browse files Browse the repository at this point in the history
Version 3.4.4
  • Loading branch information
ebanolopes committed Sep 25, 2019
2 parents 2d255c8 + b1d917e commit 2a0d385
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Controller/Webhooks/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function processRequest($request, $hash, $topic)
$caseData = array(
"case" => $case,
"order" => $order,
"request" => $requestJson
"response" => $requestJson
);

if ($case->isEmpty()) {
Expand Down
5 changes: 5 additions & 0 deletions Helper/FulfillmentHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,11 @@ public function getTrackingNumbers(\Magento\Sales\Model\Order\Shipment $shipment
$trackingNumbers = array();

$trackingCollection = $shipment->getTracksCollection();
/**
* Sometimes Magento loads tracking collection before the $shipment object gets loaded, leaving collection
* without shipment filter. Forcing shipment filter to avoid issues.
*/
$trackingCollection->setShipmentFilter($shipment->getId());

/** @var \Magento\Sales\Model\Order\Shipment\Track $tracking */
foreach ($trackingCollection->getItems() as $tracking) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"php": ">=5.5.22"
},
"type": "magento2-module",
"version": "3.4.3",
"version": "3.4.4",
"autoload": {
"files": [
"registration.php"
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Signifyd_Connect" setup_version="3.4.3">
<module name="Signifyd_Connect" setup_version="3.4.4">
<sequence>
<module name="Magento_Sales" />
<module name="Magento_Payment" />
Expand Down

0 comments on commit 2a0d385

Please sign in to comment.