Add exact-location checkout to your store
Our plugins let your customers open a map, select their exact location and save a UPCS postcode with their order. The postcode is generated through the UPCS API using your own partner key.
A partner account is required
How it works
- 1
Get your key
Create a partner account and generate your API key in the partner panel.
- 2
Download
Pick the plugin for your store platform.
- 3
Install & connect
Upload the zip and paste your key into the settings.
- 4
Customers pin a spot
They choose an exact location on the map at checkout.
- 5
Saved with the order
The UPCS postcode is generated through the API and stored on the order.
Choose your platform
WordPress / WooCommerce
Adds a map to WooCommerce checkout and a [upcs_map] shortcode for any page.
Version 1.3.0 · upcs-map.zip · 407 KB
Requirements
- WordPress 5.8 or newer
- PHP 8.0 or newer
- WooCommerce (only for the checkout map)
- A UPCS partner API key
Where it appears
- WooCommerce checkout, directly after the billing form.
- Any page or post with the shortcode [upcs_map]. Optional attributes: height="600px" and zoom="6".
Install
About five minutes. No coding required.
- 1In WordPress, open Plugins → Add New → Upload Plugin.
- 2Choose the downloaded upcs-map.zip, click Install Now, then Activate.
- 3Open Settings → UPCS Map and paste your API key (create a partner account if you do not have one).
- 4Click Test API Connection. You should see "Connection OK".
- 5Place [upcs_map] on any page, or open your WooCommerce checkout to see the map below the billing form.
Settings
- API Base URL
- https://api.upcs.io/api (pre-filled, keep as is)
- Shared API Key
- The upcs_… key from your partner account
- UPCS Public URL
- https://upcs.io (pre-filled)
- Default Country
- Two-letter code the map opens on, e.g. PK
What gets saved
- The UPCS code, latitude and longitude are saved as order meta.
- They appear on the order screen under the billing and shipping address.
- Logged-in customers can also save locations to their account.
Troubleshooting
Where it works
UPCS postcodes are generated for locations in these countries. Orders placed elsewhere cannot be given a UPCS postcode yet.
Supported countries
Next steps
Create your partner account, generate an API key in the panel, install the plugin, then place a test order to confirm the postcode is saved. You can disable or replace a key yourself at any time.
