Store Pickup & Local Delivery
How to set up Secure Pickup Code for your orders
Add a unique verification code to every self-pickup order so your staff can confirm the right customer is collecting the right order.
In this article
What is a Secure Pickup Code?
A Secure Pickup Code is a unique verification code automatically generated for every order that uses self-pickup (collection in store).
The code is included in the customer's order confirmation email.
When the customer arrives to collect the order, your staff match the code the customer shows against the code on the order.
This prevents handing an order to the wrong person and adds security to the pickup step.
Example of a generated code:
PICKUPq1iiOw
Enable Secure Code
Open the Store Pickup & Local Delivery app and go to Settings.
Open the Pickup Settings tab.
In the Settings panel, turn on the Enable Secure Code toggle.
The code configuration options appear once the toggle is on.
Pickup Settings → Enable Secure Code, with the configuration fields revealed.
NoteSecure Code applies to pickup orders only. Delivery and shipping orders do not generate a code.
Configure the code format
After enabling, set how each code is generated:
Option | What it does | Recommendation |
Code Length | Number of random characters in the code. | Use 4–10 characters (6 is a good balance of readability and security). |
Allowed Characters | Which characters the code is built from. | See the three options below. |
Prefix (optional) | Fixed text placed before the code. | e.g. |
Suffix (optional) | Fixed text placed after the code. | e.g. |
Letters and Numbers — mixed letters and digits (e.g.
q1iiOw). Highest randomness.Letters only — uppercase letters A–Z (e.g.
KQWMZB).Number only — digits 0–9 (e.g.
481903). Easiest to read over the phone.
TipThe final code is built as Prefix + random characters (Code Length) + Suffix. Click Save after configuring.
Add the code to your confirmation email
For the customer to receive the code, you need to add the Secure Code block to your Shopify Order confirmation email.
Next to Enable Secure Code, click Setup Email.
Customize the block — the Preview on the right updates live:
Header — block title (max 50 characters) and text colour.
Microcopy — short description under the header and its text colour.
Secure Code — background and text colour of the code box.
Divider — colour of the separator line.
The Setup Email designer with a live preview of the Secure Code block.
Click Generate HTML Code to produce the code snippet.
In the Email Confirmation Custom Code box, select all and copy the snippet.
Copy the generated snippet from the Email Confirmation Custom Code box.
In Shopify Admin, go to Settings → Notifications.
Shopify Admin → Settings → Notifications.
Open Customer notifications → Order confirmation.
In the Email body (HTML) field, paste the snippet, then Save.
Paste the snippet into the Order confirmation Email body (HTML).
Where exactly should I paste it?
Recommended: just above the "Order summary" section (right before
<h3>Order summary</h3>), so the code shows prominently above the order details — matching the in-app preview.Or paste it right after the greeting line (
{{ email_body }}) to show the code even higher, before the "View your order" button.
ImportantPaste the snippet in the empty space between two blocks — never in the middle of another Liquid block ({% if %}…{% endif %}) — to avoid breaking the template. The block is wrapped in a condition, so it auto-hides on non-pickup orders; pasting it slightly off will not break normal order emails.
How it works on a real order
The customer checks out and chooses Pickup in store.
The app automatically generates the code from your configuration and attaches it to the order.
The code appears in the order confirmation email (once Step 3 is done).
The code is also stored on the order, under the Pickup Secure Code attribute.
The Secure Code as it appears in a real pickup order's confirmation email.
Verify the code at pickup
When the customer arrives, ask for the Secure Pickup Code from their email.
Open the order in Shopify Admin and check Additional details → Pickup Secure Code.
Match the two codes:
Match → hand over the order.
No match → verify the customer's identity / correct order before releasing it.
The order's "Additional details" panel shows the Pickup Secure Code for verification.
Frequently asked questions
I added the code but the Shopify Preview doesn't show it. Is it broken?
I added the code but the Shopify Preview doesn't show it. Is it broken?
No — this is expected. Shopify's Preview uses sample order data, and that sample order is not a pickup order, so it has no code to display (the block hides itself). To test it, place a real test pickup order and check the actual confirmation email that is sent.
The customer didn't receive the code in their email.
The customer didn't receive the code in their email.
Check, in order:
Step 3 is complete (snippet generated and pasted into the Order confirmation template).
Enable Secure Code was on at the time the order was placed (older orders won't have a code).
The order is actually a Pickup order (shipping/delivery orders have no code — by design).
The pasted snippet still contains the full
{% for %}…{% endfor %}and{% if %}…{% endif %}tags.
Does the code change after the order is created?
Does the code change after the order is created?
No. Each order has one fixed code, generated at the time the order is placed.
Will enabling Secure Code affect existing orders?
Will enabling Secure Code affect existing orders?
No. Only new orders placed after you enable it will have a code. Existing orders are unaffected.
Do delivery orders get a code too?
Do delivery orders get a code too?
No. Secure Code applies to pickup orders only.
Rose Perl Technology — Store Pickup & Local Delivery.
Need more help?
Reply to your support email or open a ticket in the Help Center.
