Skip to main content

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.

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

  1. Open the Store Pickup & Local Delivery app and go to Settings.

  2. Open the Pickup Settings tab.

  3. In the Settings panel, turn on the Enable Secure Code toggle.

  4. The code configuration options appear once the toggle is on.

Enable Secure Code toggle in the Pickup Settings tab, with Code Length, Allowed Characters, Prefix and Suffix fields

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. PICKUPPICKUPq1iiOw

Suffix (optional)

Fixed text placed after the code.

e.g. -USq1iiOw-US

  • 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.

  1. Next to Enable Secure Code, click Setup Email.

  2. 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.

Setup Email screen with header, microcopy, secure code colours and a live preview of the email block

The Setup Email designer with a live preview of the Secure Code block.

  1. Click Generate HTML Code to produce the code snippet.

  2. In the Email Confirmation Custom Code box, select all and copy the snippet.

Generated HTML/Liquid snippet ready to copy in the Email Confirmation Custom Code box

Copy the generated snippet from the Email Confirmation Custom Code box.

  1. In Shopify Admin, go to Settings → Notifications.

Shopify Admin Notifications settings page

Shopify Admin → Settings → Notifications.

  1. Open Customer notifications → Order confirmation.

  2. In the Email body (HTML) field, paste the snippet, then Save.

Edit Order confirmation template with the Email body HTML field

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

  1. The customer checks out and chooses Pickup in store.

  2. The app automatically generates the code from your configuration and attaches it to the order.

  3. The code appears in the order confirmation email (once Step 3 is done).

  4. The code is also stored on the order, under the Pickup Secure Code attribute.

Real order confirmation email showing the Store Pickup secure code PICKUPq1iiOw

The Secure Code as it appears in a real pickup order's confirmation email.

Verify the code at pickup

  1. When the customer arrives, ask for the Secure Pickup Code from their email.

  2. Open the order in Shopify Admin and check Additional details → Pickup Secure Code.

  3. Match the two codes:

    • Match → hand over the order.

    • No match → verify the customer's identity / correct order before releasing it.

Shopify order detail Additional details panel showing Pickup Secure Code PICKUPq1iiOw

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?

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.

Check, in order:

  1. Step 3 is complete (snippet generated and pasted into the Order confirmation template).

  2. Enable Secure Code was on at the time the order was placed (older orders won't have a code).

  3. The order is actually a Pickup order (shipping/delivery orders have no code — by design).

  4. The pasted snippet still contains the full {% for %}…{% endfor %} and {% if %}…{% endif %} tags.

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?

No. Only new orders placed after you enable it will have a code. Existing orders are unaffected.

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.

Did this answer your question?