Skip to content

Commit

Permalink
RATEPLUG-198: tracking-codes: set default provider
Browse files Browse the repository at this point in the history
  • Loading branch information
rommelfreddy committed Jul 22, 2021
1 parent 692eacc commit dfb61ac
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Services/Factory/ExternalArrayFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct(ConfigService $configService)
public function getData(Order $order)
{
if ($plainTrackingCode = $order->getTrackingCode()) {
$provider = null;
$provider = 'OTH';
if ($order->getDispatch()) {
$supportedMethods = ['DHL', 'DPD', 'GLS', 'HLG', 'HVS', 'OTH', 'TNT', 'UPS'];
foreach ($supportedMethods as $supportedMethod) {
Expand Down
19 changes: 18 additions & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<label lang="de">Ratepay Payment Plugin für Shopware 5</label>
<label>Ratepay Payment Plugin for Shopware 5</label>

<version>6.1.0</version>
<version>6.1.1</version>
<copyright>Copyright (c), Ratepay GmbH</copyright>
<license>MIT</license>
<link>https://www.ratepay.com</link>
Expand All @@ -22,6 +22,23 @@
<description>Ratepay enables you to accept online payments without any risk of fraud and without the hassle of debtors management.</description>
<description lang="de">Ratepay stellt verschiedene Zahlungsarten für Ihren Onlineshop zur Verfügung, ohne dass Sie sich mit der Risikoprüfung oder dem Debitorenmanagement beschäftigen müssen.</description>

<changelog version="6.1.1">
<changes>
<![CDATA[
<ul>
<li>Set default tracking-provider for confirmation deliver</li>
</ul>
]]>
</changes>
<changes lang="de">
<![CDATA[
<ul>
<li>Standardversanddienstleister-Code beim CONFIRM hinterlegt</li>
</ul>
]]>
</changes>
</changelog>

<changelog version="6.1.0">
<changes>
<![CDATA[
Expand Down

0 comments on commit dfb61ac

Please sign in to comment.