> ## Documentation Index
> Fetch the complete documentation index at: https://docs.smartsend.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Pickup points

> Set up pickup-point delivery in WooCommerce and let customers choose where their parcel is delivered.

A pickup point is a shop or parcel locker where your customer collects their parcel. Your customer can choose a location that fits their day, such as one near home or work, without needing to be home for delivery.

## Set up a shipping method first

You need a connected Smart Send account and a shipping method with a service that supports customer-selected pickup points.

> [card] [See the shipping-method setup guide](https://docs.smartsend.io/integrations/woocommerce/shipping-methods.md#shipping-method)
>
> Learn how to add a shipping method through the Smart Send plugin and enable pickup points for it.

In the method's **Shipping Method** field, distinguish these services:

| Service | Who chooses the pickup point? |
| - | - |
| **Select pickup point**, for example **PostNord: Select pickup point (MyPack Collect)** | The customer chooses at checkout. Use this to offer the selector described below. |
| **Closest pickup point** | The carrier chooses. The customer does not see a pickup-point selector. |
| Home/address delivery | The parcel goes to the recipient address. No pickup-point selector is shown. |

## Choose how pickup points are shown

The plugin can show pickup points in different ways on the checkout page. Read about the options below.

> [tab] List (default)
>
> Customers see nearby pickup points in a list with names, addresses, distances and opening hours when available. They can search by postcode and browse more points, but cannot switch to a map.
>
> We recommend the list for most shops. It makes points easy to compare without loading map JavaScript. Choose **List (recommended)** under **Pickup point selector**.
>
> ![Illustration of pickup points displayed as a list](https://mintcdn.com/smartsend/ujFnpxXdGQWODAFM/images/woocommerce/en/pickup-points/list.png?fit=max\&auto=format\&n=ujFnpxXdGQWODAFM\&q=85\&s=1ce9acaeb089e1be64ebd0b0fd06d182)

> [tab] List and map
>
> Customers start with the list and can switch to a map to find a pickup point in their preferred area. Choose **List / Map** to offer both options. Map JavaScript loads only when the customer opens the map.
>
> ![Illustration of the map view showing pickup points](https://mintcdn.com/smartsend/ujFnpxXdGQWODAFM/images/woocommerce/en/pickup-points/map.png?fit=max\&auto=format\&n=ujFnpxXdGQWODAFM\&q=85\&s=7578055943327c327ea61764a9c7da37)

> [tab] Drop-down
>
> Customers choose a pickup point in a simple drop-down field with names and addresses. There is no search, paging or map.
>
> Choose **Drop-down** for minimal JavaScript or if your theme does not work well with the list. Customers have fewer ways to compare points.
>
> ![Illustration of pickup points in a drop-down field](https://mintcdn.com/smartsend/ujFnpxXdGQWODAFM/images/woocommerce/en/pickup-points/dropdown.png?fit=max\&auto=format\&n=ujFnpxXdGQWODAFM\&q=85\&s=e365580b9fca76e792ae0760271923cc)

## Configure pickup points

Add a [shipping method as usual](https://docs.smartsend.io/integrations/woocommerce/shipping-methods.md#shipping-method) and choose a pickup-point service that supports customer selection, such as **Select pickup point**. Smart Send then automatically displays pickup points at checkout once the customer enters their shipping address and selects that method.

### Pickup-point display settings

Go to **WooCommerce → Settings → Shipping → Smart Send** and find **Pickup Points**. These settings apply to all Smart Send shipping methods in your shop.

| Setting | Meaning |
| - | - |
| **Pickup point selector** | Choose **List (recommended)**, **List / Map** or **Drop-down** as described above. List is the default. |
| **Pickup points per page** | Number of points per list page. Defaults to **5**, with values from **1** to **100**. For the drop-down, this is the total number of choices because there is no paging. |
| **Select Default** | Enable to preselect the closest returned point. Customers can still choose another. Off by default, so customers must choose when points are available. |
| **Google Maps API key** | Used with **List / Map**. We recommend a Google Maps API key; without one, the map uses OpenStreetMap. See [creating and restricting the key](#google-maps-key). |

Click **Save changes** and check the presentation in your checkout.

## How customers choose at checkout

The plugin first finds the nearest pickup points using the shipping address entered by the customer. Most customers simply choose one of these points.

Customers who prefer another point can search by postcode in the list. If you offer the map, they can also navigate to their preferred area, press **Search this area** and select a point directly from the map. The drop-down only shows nearby points and has no search.

## Google Maps API key

This section applies when **Pickup point selector** is set to **List / Map**. The map works without a key, using OpenStreetMap.

We recommend creating a Google Maps API key and entering it in **Google Maps API key**, so your shop's maps are served under your own Google Cloud account.

> [!WARNING]
>
> The key is public. It is sent to the customer's browser and can be read by anyone who visits your checkout. Restricting the key to your own domains is what protects it, not keeping it secret. Never paste a key that is also used for server-side Google APIs into this field.

### Create and restrict the key

Three things have to be in place before a key draws a map: the right API, billing, and the restrictions below. Start at the **[Google Cloud Console](https://console.cloud.google.com/)** .

**1. Create or select a project**

A project is the container that owns the key and its billing. Use one project for your shop.

**2. Enable the Maps JavaScript API**

Go to **APIs & Services → Library**, search for **Maps JavaScript API** and enable it. It is the only API the checkout map uses. A key without it fails with `ApiNotActivatedMapError`.

**3. Enable billing on the project**

Go to **Billing** and link a billing account to the project. Google requires one even for usage inside the free allowance. Without billing the map stays grey and the browser console shows `BillingNotEnabledMapError`.

> [!NOTE]
>
> Check the current allowance and prices in **[Google's usage and billing documentation](https://developers.google.com/maps/documentation/javascript/usage-and-billing)** . Usage is billed to your Google Cloud account.

**4. Create the key**

Go to **APIs & Services → Credentials**, choose **Create credentials → API key** and copy the key. See **[Google's own instructions](https://developers.google.com/maps/documentation/javascript/get-api-key)**  if the console looks different from this.

**5. Restrict it to your domains**

You must restrict the key to your shop's website address before using it. Open the key and set **Application restrictions** to **Websites**. Add your shop's domains as HTTP referrers, for example `https://example.com/*` and `https://www.example.com/*`. Add your staging domain too if you test there. A domain that is missing fails with `RefererNotAllowedMapError`.

**6. Restrict it to one API**

Set **API restrictions** to **Restrict key** and select **Maps JavaScript API** only. A key limited to the wrong API fails with `ApiTargetBlockedMapError`.

**7. Save the key in WooCommerce**

Paste the key into **Google Maps API key** under **WooCommerce → Settings → Shipping → Smart Send** and click **Save changes**. Then open your own checkout, choose a pickup point method and press **Map**.

> [!NOTE]
>
> The customer's browser contacts Google when the map opens, and the shop's domain and the map requests go with it. Make sure your cookie and consent policy covers it. The same applies to OpenStreetMap when no key is set.

### If the map does not appear

Open your checkout, press **Map** and look at the browser console. Google names the reason, and **[Google's error message reference](https://developers.google.com/maps/documentation/javascript/error-messages)**  lists them all.

* `BillingNotEnabledMapError` - the project has no billing account.
* `ApiNotActivatedMapError` - the Maps JavaScript API is not enabled for the project.
* `RefererNotAllowedMapError` - the shop's domain is not in the key's website restrictions. Check `www` and non-`www` separately.
* `ApiTargetBlockedMapError` - the key's API restrictions exclude the Maps JavaScript API.
* `InvalidKeyMapError` - the key is mistyped or belongs to a deleted project.

When Google refuses the key, the customer still gets a working map: the plugin falls back to OpenStreetMap for the rest of that visit, and the shop gets a notice in the WordPress admin.

## Find the choice on the order

After checkout, the saved point is visible in the order's **Smart Send** panel, customer order details and the order emails that include WooCommerce order details. Check that the saved name and address match the customer’s choice.

Review the point before [booking the outbound shipment](https://docs.smartsend.io/integrations/woocommerce/shipping-labels.md). The order panel also lets you change the point when needed.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.