Turn a paid order into a packing slip
Collect the buyer's delivery address at checkout, then build an Order Paid automation that emails whoever packs the order exactly what to pack and where to post it.
If you sell something that has to go in a box and be posted, the notification you get when an order is paid can double as a packing slip: what to pack, and where to send it. This article covers the two things you need to switch on and the variables that print them.
Step 1: collect the delivery address
TrustPager does not ask buyers for a delivery address by default, because plenty of stores sell things that are never posted and the extra step costs you completed checkouts. So you turn it on per store.
- Go to https://app.trustpager.com/growth/ecommerce and open your store.
- Click Manage, then the Settings tab.
- Switch on Collect delivery address at checkout. It saves itself.
From then on, the payment page asks the buyer for their delivery address and it lands on the order automatically. This works whether the buyer pays by card or by PayPal, and your website needs no changes at all.
Two things worth knowing:
- It applies from the next checkout onward. Orders already placed will not suddenly have an address, so for those you will need to ask the customer directly.
- With the switch off, PayPal no longer asks for an address either, so a store selling digital products gets a shorter checkout.
Step 2: build the notification
Create an automation on the Order Paid trigger at https://app.trustpager.com/auto/automations, scope it to your store, and add a Send Email action addressed to whoever does the packing.
In the email body, use the Insert Variable button to pick these:
- Order: Items (one per line) prints each line as 2 x Residential Test Kit (RES). Use this for plain text.
- Order: Items (bulleted list) prints the same thing as a bulleted list. Use this in an email body.
- Order: Delivery Address (full block) prints the whole address as a ready-to-read block, with no stray commas when a line is empty.
- Order: Deliver To (name) is the recipient, who is not always the person who paid.
Individual address parts are available too, if you would rather lay them out yourself: delivery address line 1 and 2, suburb or city, state, postcode and country.
A worked example
An email body like this:
Pack and post this order.
Order: {{order_number}}
Items ({{item_count}}):
{{items_html}}
Deliver to:
{{shipping_text}}
arrives looking like this:
Pack and post this order. Order: ORD-1042 Items (2): - 2 x Residential Test Kit (RES) - 1 x Urgent Test Kit (UEV) Deliver to: Julie Moss 12 Example Street Richmond VIC 3121 AU
If the address comes out blank
The address is empty whenever the order does not have one, which happens if the store's Collect delivery address at checkout switch was off when the buyer checked out. The notification still sends and still lists the items; the address block is simply blank. Check the switch is on, then place a test order.
Notes
- The item count is unchanged, so any automation or condition you already built on it keeps working.
- Do not use the plain items variable in an email body. It holds the structured order data for webhooks and scripts, and will not read as a list. Use the one-per-line or bulleted-list variable instead.
- If your store sells a mix of physical and digital products, the switch is per store rather than per product, so a digital-only order will still be asked for an address.
For store setup, catalog and the orders pipeline, see https://www.trustpager.com/help-center/ecommerce-store-orders.