GO: Add Tracking-Link

This commit is contained in:
Andreas Palm 2025-01-13 22:28:58 +01:00
parent f6bbe6522e
commit 7bde3b8415

View File

@ -126,7 +126,7 @@ class Versandart_go extends Versanddienstleister
if ($result instanceof CreateOrderResponse) { if ($result instanceof CreateOrderResponse) {
$ret->Success = true; $ret->Success = true;
$ret->TrackingNumber = $result->hwbNumber; $ret->TrackingNumber = $result->hwbNumber;
$ret->TrackingUrl = ''; $ret->TrackingUrl = 'https://www.general-overnight.com/deu_de/versenden/sendungsverfolgung.html?reference='.$result->hwbNumber;
$ret->Label = base64_decode($result->hwbOrPackageLabel); $ret->Label = base64_decode($result->hwbOrPackageLabel);
} else { } else {
$ret->Errors[] = $result; $ret->Errors[] = $result;