Skip to content

Commit

Permalink
switch order_id and friendly_id (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwraich authored Jul 19, 2024
1 parent 24dcb1a commit e93766e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Model/Order/CompleteOrderPool/SimpleCompleteOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public function execute(OrderInterface $order): void
$url = sprintf(self::COMPLETE_ORDER_URL, $publicOrderId);
$params = [
'state' => 'order_complete',
'platform_order_id' => $order->getIncrementId(),
'platform_friendly_id' => $order->getEntityId()
'platform_order_id' => $order->getEntityId(),
'platform_friendly_id' => $order->getIncrementId(),
];
$response = $this->client->put($websiteId, $url, $params);
if ($response->getStatus() !== 201) {
Expand Down

0 comments on commit e93766e

Please sign in to comment.