Skip to content

Commit

Permalink
feat: after order
Browse files Browse the repository at this point in the history
  • Loading branch information
kaioken committed Dec 23, 2024
1 parent 0f25bfd commit 3b839b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Domains/Connectors/ESim/Services/OrderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ protected function easyActivationOrder(OrderItem $item): array
$channelId = $this->order->app->get(ConfigurationEnum::APP_CHANNEL_ID->value);

$metaData = $this->order->metadata;
$startDate = $metaData['start_date'] ?? now()->format('Y-m-d');
$endDate = $metaData['end_date'] ?? now()->addDays($totalDays)->format('Y-m-d');
$imeiNumber = $metaData['imei_number'] ?? null;
$startDate = $metaData['startDate'] ?? now()->format('Y-m-d');
$endDate = $metaData['endDate'] ?? now()->addDays($totalDays)->format('Y-m-d');
$imeiNumber = $metaData['deviceImei'] ?? null;

return $this->client->post('/api/v2/easyactivations/create/order', [
'products' => [
Expand Down

0 comments on commit 3b839b7

Please sign in to comment.