# PayPalPayment::retrievePayPalOrder()

> Get a PayPal order without capturing it

- See also: `https://developer.paypal.com/docs/api/orders/v2/#orders_get PayPal REST API Documentation`
- Source: `src/PayPalPayment.php#L227` <https://github.com/wagnerwagner/merx/blob/2.0.0-alpha.11/src/PayPalPayment.php#L227>

```php
PayPalPayment::retrievePayPalOrder(string $payPalOrderId): array
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$payPalOrderId` | `string` | `–` |

## Return type

`array`

PayPal order details, including `status` and `purchase_units`

## Parent class

`Wagnerwagner\Merx\PayPalPayment`
