From a78608fae6ba90c08dd22f5930fe211ddc0e16e7 Mon Sep 17 00:00:00 2001 From: kaioken Date: Mon, 23 Dec 2024 22:41:00 -0400 Subject: [PATCH] fix: set parent sku --- src/Domains/Connectors/ESim/Services/OrderService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Domains/Connectors/ESim/Services/OrderService.php b/src/Domains/Connectors/ESim/Services/OrderService.php index 371cfe26f..3652d3a4a 100644 --- a/src/Domains/Connectors/ESim/Services/OrderService.php +++ b/src/Domains/Connectors/ESim/Services/OrderService.php @@ -68,7 +68,7 @@ protected function easyActivationOrder(OrderItem $item): array return $this->client->post('/api/v2/easyactivations/create/order', [ 'products' => [ [ - 'sku' => $item->product_sku, + 'sku' => $item->variant->get('parent_sku'), 'service_days' => $totalDays, 'product_qty' => $item->quantity, 'start_date' => $startDate,