diff --git a/admin/controller/module/wuunder.php b/admin/controller/module/wuunder.php index 28505d4..cdd0979 100644 --- a/admin/controller/module/wuunder.php +++ b/admin/controller/module/wuunder.php @@ -280,10 +280,10 @@ public function generateBookingUrl() $webhookUrl = urlencode($protocol . $this->request->server['SERVER_NAME'] . "/index.php?route=module/wuunder/webhook&order=" . $order_id . "&token=" . $booking_token); if (intval($this->config->get('wuunder_api'))) { - $apiUrl = 'https://api.wuunder.co/api/bookings?redirect_url=' . $redirectUrl . '&webhook_url=' . $webhookUrl; + $apiUrl = 'https://api.wearewuunder.com/api/bookings?redirect_url=' . $redirectUrl . '&webhook_url=' . $webhookUrl; $apiKey = $this->config->get('wuunder_live_key'); } else { - $apiUrl = 'https://api-staging.wuunder.co/api/bookings?redirect_url=' . $redirectUrl . '&webhook_url=' . $webhookUrl; + $apiUrl = 'https://api-staging.wearewuunder.com/api/bookings?redirect_url=' . $redirectUrl . '&webhook_url=' . $webhookUrl; $apiKey = $this->config->get('wuunder_staging_key'); } @@ -319,9 +319,9 @@ public function generateBookingUrl() if (!(substr($url, 0, 5) === "http:" || substr($url, 0, 6) === "https:")) { if (intval($this->config->get('wuunder_api'))) { - $url = 'https://api.wuunder.co' . $url; + $url = 'https://api.wearewuunder.com' . $url; } else { - $url = 'https://api-staging.wuunder.co' . $url; + $url = 'https://api-staging.wearewuunder.com' . $url; } } header("Location: " . $url);