Skip to content

Commit

Permalink
Fix #545
Browse files Browse the repository at this point in the history
  • Loading branch information
srmklive authored Feb 10, 2023
1 parent e612e63 commit 16e47de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/PayPalAPI/Orders.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ public function updateOrder(string $order_id, array $data)
{
$this->apiEndPoint = "v2/checkout/orders/{$order_id}";

$this->options['json'] = (object) $data;
$this->options['json'] = $data;

$this->verb = 'patch';

return $this->doPayPalRequest();
return $this->doPayPalRequest(true);
}

/**
Expand Down

0 comments on commit 16e47de

Please sign in to comment.