
Stannp for OpenCart — postcards and letters by post from the order page, automatic sends and delivery status
Stannp for OpenCart 4.x, 3.x, 2.3 (UK): postcards and letters by post from the order page; Pro adds automatic sends, win-back, carts, bulk sends, delivery status, a report. Licence for life.
- Compatibility
- OpenCart 4.0.2.0–4.1.x, 3.0.x, 2.3.0.2 · module language: English
- PHP
- 7.0 or newer
- Version
-
v1.0.0 (OpenCart 4)
v1.0.0 (OpenCart 3.x)
v1.0.0 (OpenCart 2.3) - Licence
- a site + a staging copy, lifetime
- Trial
- 7 days, no card, one per site
- Updated
- 15.11.2026
What Free has,
and what Pro adds
The free version works with no time limit. Pro adds the rest of the features in the table.
Key points
What the seller gets
The order page gets a “Stannp Mail” card above the history.
What is in the admin
Extensions → Extensions → Modules → Stannp Postcards and Letters. Tabs: “Connection”, “Postcard”, “Letter”, “Automations (Pro)”, “Licence”.

The trial starts when you ask
A fresh install is the free version, nothing switches on by itself. The “Try Pro for 7 days” button → e-mail → the key right in the window and by e-mail.

One key — a site and a staging copy
Moving the site? Unlink the licence on the old domain and activate it on the new one yourself. A staging copy (staging., dev.) works with the same key and does not take a site slot. For studios — keys for 5 or 25 sites, or unlimited.
Technical requirements
OpenCart 4.0.2.0–4.1.x, 3.0.x or 2.3.0.2; PHP 7.0+ for 2.3, the cURL extension.
A Stannp account and its API key. For sends in “Live” mode the account balance must hold funds.
Delivery status by webhook needs a shop address reachable from the internet; without it the hourly Stannp polling still works.
The recipient address comes from the order. Without a postcode or a full address the card says what is missing and sends nothing.
The free Stannp plan allows 10 requests a minute: background sends go out 8 seconds apart, and at the limit a piece is delayed and retried.
Background work (automatic sends, win-back, carts, retries) runs through the OpenCart 4 scheduler every hour, after page views on PHP-FPM, and through a server cron address shown in the settings. OpenCart 3 and 2.3 have no scheduler, so they need a cron on that address or PHP-FPM.
Win-back and abandoned carts are marketing mail: the shop needs a lawful basis under the rules of your country (UK GDPR in the UK). Both are off until you switch them on, and the settings say so.
Uploaded images and PDFs live in system/storage/upload/cc_stannp/ under random names, with an .htaccess in the folder that denies direct access (nginx ignores it). If the storage sits inside the web root on nginx, move it outside.
Links to the PDF proofs of “Test” mode are kept by Stannp for a limited time and may stop opening later. OpenCart 3.0 and 2.3 store text without emoji, so the module asks you to remove them.
Version history
For OpenCart 4.x, 3.x and 2.3: Stannp postcards and letters from the order card, Stannp templates or your own images and PDFs, order placeholders, the Test mode, status, cancel and a safe retry.
Frequently bought with Stannp


Royal Mail Click & Drop Sync for OpenCart 2.3, 3.x and 4.x — orders to Click & Drop, tracking back

Cart Discounts (Amount-Based and N+1) for OpenCart

MTD VAT Returns for OpenCart 2.3, 3.x and 4.x — UK VAT returns from the admin
Full module description
Stannp Postcards and Letters for OpenCart 4.x, 3.x and 2.3 prints and posts real postcards and letters to your customers through your Stannp account. The order page gets a “Stannp Mail” card: the address from the order, “Send postcard” and “Send letter” buttons, and a list of pieces with status and cost. The design comes from a Stannp template or from your own images, and Stannp merges the name, order number and total, coupon and shop name itself.
What the seller gets
The order page gets a “Stannp Mail” card above the history. It shows the address that will be printed (shipping, else payment, else the name on the order) and says at once what is missing, a postcode for example. “Send postcard” and “Send letter” create a piece; in live mode a confirmation dialog appears before sending. Below is the list of pieces: date, type, Stannp id, status, cost, a link to the PDF, and for a piece that can still be stopped “Refresh status” and “Cancel”.
Postcard: size by account region (A6 or A5 for the UK and Europe, 4×6, 6×9 or 6×11 for the US and Canada), a template from the Stannp editor by its ID (“Show my templates” lists yours) or your own front and back images (JPG, PNG or PDF up to 8 MB), a message on the back and a return address. Letter: your own text with paragraphs, bold, italics and lists, your own PDF, or a Stannp template. You can add first class postage and a coupon. These placeholders work in the text: {firstname}, {lastname}, {company}, {order_number}, {order_total}, {order_date}, {shop_name}, {shop_url}, {coupon}.
Every piece carries an idempotency key: if the Stannp answer is lost to a timeout, a server error or the rate limit, the piece becomes “pending” with a “Retry” button, and the retry goes out with the same key, so a second postcard is never created. Stannp refusals are shown in words, and the order history gets one note for every real step. The status only moves forward.
What is in the admin
Extensions → Extensions → Modules → Stannp Postcards and Letters. Tabs: “Connection”, “Postcard”, “Letter”, “Automations (Pro)”, “Licence”. On “Connection” paste the API key from Stannp (Settings → API Settings): it is stored encrypted and never printed back into the form. Choose the account region (UK and Europe, or US and Canada) and the mode. “Test” gives only a proof PDF: nothing is printed, posted or charged. “Live” prints, posts and pays from the balance of your Stannp account. “Save and check connection” shows the balance.
Pieces, bulk queues and the report are in Marketing → Stannp Mail. The free version shows the card on every order page; the Stannp Mail page with bulk sends and the report is part of Pro.
How it works, step by step
- Install the module, open its settings, paste the Stannp API key, choose the region and keep the “Test” mode. Press “Save and check connection”.
- On “Postcard” set the size, a Stannp template or upload the front, write the message and the return address. On “Letter” set the text, a PDF or a template.
- Open any order with a postal address and press “Send postcard” or “Send letter”: in “Test” mode you get a proof PDF.
- When the proof is right, switch the mode to “Live”. The shop asks for confirmation before every send.
- In Pro choose the order statuses that trigger a postcard or a letter, switch on win-back, abandoned carts, the mailing list and delivery status, and set the daily limit.
- Follow the pieces in the order card and on the Stannp Mail page: errors are shown in words, and delayed pieces can be retried.
Under the hood
- Stannp API: postcards/create, letters/create, cancel and status of a piece, accounts/balance, templates/list, groups/list, recipients/new, reporting/summary, mailpiece_status webhooks. Regions api-eu1 (UK and Europe) and api-us1 (US and Canada).
- The API key is encrypted (AES-256) and never shown in the settings or the log; requests go over HTTPS only.
- Files are checked by content, not by extension, and are sent to Stannp as base64.
- An idempotency key per order, type and attempt, salted per install: a shop reinstalled at the same address does not get old pieces of another run. A retry after switching between Test and Live is refused.
- A piece status only moves forward; a repeated or parallel notification does not roll it back or duplicate the history note. A cancelled piece is not counted in the spend.
- The Stannp webhook is signed with a secret (HMAC-SHA256, hex or base64) and checked; a request with no signature or a wrong one is refused, and the test_url check is answered. In addition a few open pieces are polled every hour.
- The queue and the pieces live in tables of their own (oc_cc_stannp_piece, oc_cc_stannp_job, oc_cc_stannp_kv); background sends go one at a time, under a lock, within the daily limit.
- In Free every Pro setting is locked, and a forged request changes no stored value; queued work left after Pro ends is stopped by the module with the reason in the order.
- The interface is in English.
Installation
- OpenCart 4: Extensions → Installer, upload cc_stannp.ocmod.zip without renaming it.
- OpenCart 3.x: Extensions → Installer, upload cc_stannp-oc3.ocmod.zip, then Extensions → Modifications → Refresh.
- OpenCart 2.3: Extensions → Installer, upload cc_stannp-oc23.ocmod.zip (needs the FTP settings in System → Settings → FTP; otherwise unpack the archive and copy the contents of upload/ to the shop root by hand), then Extensions → Modifications → Refresh.
- Extensions → Extensions → Modules → Stannp Postcards and Letters: install it and open the settings.
- Paste the Stannp API key, choose the region, press “Save and check connection”, set the postcard or the letter and save.
- For Pro: paste the licence key or start the trial on the “Licence” tab.
Questions
about the module
Didn't find the answer? Message us on Telegram and we'll reply within a business day.
Is this an official Stannp module?
No, it is an independent integration through the public Stannp API. Stannp is a trademark of its owner.
How much do the pieces cost?
Every postcard or letter in "Live" mode is paid from the balance of your Stannp account at Stannp rates. The module adds no charge per piece; the cost of each piece is in the order card, and the spend for a month is in the Pro report.
What does the "Test" mode do?
Stannp makes a proof PDF: nothing is printed, posted or charged. It is the default, and switching to "Live" asks for confirmation before every send.
Can a piece be cancelled?
Yes, until Stannp passes it to print: the order card has "Cancel" for a piece with the status "received". A cancelled piece is not counted in the spend.
Which address is printed on the postcard?
The shipping address of the order, else the payment address, else the name on the order. If a postcode or a full address is missing, the card says what is missing and sends nothing.
Does the free version work without Pro?
Yes: the connection, a postcard and a letter from the order page, the test mode, status, cancel and retry work in the free version. Automatic sends, win-back, abandoned carts, bulk sends, Stannp groups, delivery status by webhook and the report are Pro.
Can the same thing be sent twice?
No: every order, type and attempt has an idempotency key, the automatic send by status goes once per order, and a bulk send skips orders that already have a piece of that type.
Which OpenCart versions are supported?
OpenCart 4.0.2.0–4.1.x, 3.0.x and 2.3.0.2: three separate archives in one product.
Is the licence for life?
Yes, for OpenCart it is one payment and a licence for life, for two sites.
What happens after the trial?
Pro switches off, queued automatic sends stop with the reason in the order, and the free part keeps working.
No reviews yet. Be the first.
No questions yet. Ask one — we answer within 24 hours.
Not quite what you are looking for?
We build custom modules for WordPress, WooCommerce, OpenCart and Shopify. Tell us about the task and we'll prepare an estimate.
Order a custom module
Buying the module
—
Charged in UAH; your bank converts it to your currency. EUR price is approximate.



















