---
title: "PrestaShop module: sell custom NFC cards | Printags"
description: "PrestaShop 8.1 and 9 module: the customer uploads the artwork on the product page, the paid order is printed and shipped by Printags, with tracking."
canonical: "https://www.printags.com/en/integrations/prestashop/"
---

# PrestaShop module to sell your custom PVC and NFC cards

Your customer uploads the card artwork on the product page. The paid order goes to Printags, which prints it and ships it to your customer. The tracking number comes back to the PrestaShop order.

[Download the module (zip)](https://www.printags.com/downloads/printags-prestashop.zip)[Installation guide](#installation)

Version 1.0.0 · PrestaShop 8.1, 8.2 and 9 · AFL-3.0 license  · Installed from the zip file, not through PrestaShop Addons

What the module does

## What does the Printags module do in your PrestaShop store?

### Artwork uploaded on the product page

A block of the module takes the file: PNG, JPEG or PDF up to 25 MB, sent straight from the customer's browser to Printags, with a preview and a check of the card proportions (89.6 × 57.98 mm). PrestaShop only keeps the file id, in the customization of the cart line.

### A link encoded in the NFC chip

The customer can give a link to encode in the chip. Locking the chip read-only is an option per product, off by default and irreversible.

### The paid order becomes a Printags order

When the order reaches a paid status, the module asks Printags for a quote and checks your balance, then creates the firm order. Never twice, and sent again automatically after a network error.

### Tracking comes back to the order

The tracking number is set on the order's carrier, as the back office does, in real time by webhook or each time the cron job runs. By default, the customer gets the "in transit" e-mail and the order is marked "Shipped".

### A Test mode on the sandbox

In Test mode, orders are created on the Printags sandbox: neither charged nor manufactured. Test and Production each have their own connection.

### A copy of the store sends nothing

The connection is bound to the store's address. On a copy (staging), no order goes to Printags and the original connection is left untouched.

Requirements

## What do you need to install the module?

* PrestaShop 8.1, 8.2 or 9
* PHP 7.2.5 or later, PHP 8.1 or later for PrestaShop 9
* A store served over https
* A cron job calling an address every 5 minutes, recommended
* A Printags account with an active subscription
* Module interface in English, French, German, Spanish and Italian

The cards the module orders are billed at your Printags plan's rates, and debited from the account balance for every order sent.

[Create my Printags account](https://dashboard.printags.com/register)[Compare Printags subscriptions](https://www.printags.com/en/rates-and-subscriptions-printags/)

Installation

## How do you install and connect the PrestaShop module?

1. 1  
### Download the module  
The printags-prestashop.zip file, with the button at the top of this page. Do not unzip it.
2. 2  
### Install it in PrestaShop  
Modules > Module Manager, then "Upload a module". Drop the zip file or select it: PrestaShop installs the module.
3. 3  
### Open the module configuration  
Click "Configure" when the installation ends, or on the Printags module in the Module Manager.
4. 4  
### Choose Test mode and save  
The module starts in Production mode. Choose Test: orders go through the Printags sandbox and are neither charged nor manufactured. Save before connecting, the connection applies to the selected mode.
5. 5  
### Click "Connect Printags"  
No API key to copy: the connection is an OAuth authorization on Printags. The store must use https.
6. 6  
### Approve the store in your Printags dashboard  
Log in to your Printags account and approve the connection. In Production mode, only the account owner and its admins can connect a store. Back in PrestaShop, the configuration shows the connected account and its balance.
7. 7  
### Declare your Printags products  
"Printags products" section, "Add or update a product": enter the PrestaShop product ID, choose the Printags product from the catalogue (the card model) and, if needed, the packaging. Tick "Lock the chip after encoding" only if the chip must never be rewritten. The artwork upload block then shows on the product page.
8. 8  
### Set up the cron job  
The "Sending and tracking" section shows an address to call every 5 minutes from your server's cron: it sends the paid orders. Without a cron job, the option "Also send due orders after back office pages", on by default, sends them at most every 5 minutes while someone uses the back office.
9. 9  
### Place a test order  
Order this product on your store with an uploaded artwork, then move the order to a paid status. The note "Printags: TEST order created" shows on the order page in the back office.
10. 10  
### Switch to Production  
Choose Production mode, save, then click "Connect Printags" again: each mode has its own connection. Paid orders are then printed, shipped and charged.

FAQ

## The Printags module for PrestaShop

### How are the cards ordered by the module billed?

At your Printags plan's rates. The amount is debited from the account's prepaid balance for every order sent, after the quote the module asks Printags for.

### What happens if my Printags balance is too low?

The order is not sent and is kept waiting. Its PrestaShop status does not change, so your customer gets no e-mail. A note gives the total and the balance, and an e-mail goes to the store's address. Top up the account, then click "Send to Printags" on the order page or in the "Orders waiting for you" list of the module configuration.

### Is an order cancelled or refunded in PrestaShop cancelled at Printags?

Not automatically once it was sent: a note and an e-mail tell you, and you cancel it from your Printags dashboard if it must not be made. Cards refunded before sending are not ordered.

### Are payment-on-delivery orders sent to Printags?

Yes, once paid: when the order reaches "Payment accepted" or "Delivered", or with "Send to Printags". The ps\_cashondelivery module is recognised out of the box, other payment-on-delivery modules are added in the settings. The option "Send payment-on-delivery orders automatically", off by default, sends them without waiting: your Printags balance is then debited before your customer pays.

### Where does my customer's file go, and what data does Printags receive?

The artwork goes straight from the customer's browser to Printags through a single-use signed link: it is not stored on your server and PrestaShop only keeps the file id. Once the order is paid, Printags receives the order lines, the artwork id, the NFC link and the shipping address (name, address, phone, e-mail) to print and ship the cards.

### Do I need a cron job?

It is recommended: a cron job calling the address shown in the module configuration every 5 minutes sends the paid orders and picks up tracking. If the Cron tasks manager module (cronjobs) is installed, the task is registered there too, hourly. Without a cron job, orders go out at most every 5 minutes while someone uses the back office.

### Does my store have to be reachable from the internet?

For real-time tracking, yes: Printags calls a webhook on your store, over https. Without a webhook, the cron job checks the status of open orders every hour.

### Can I use the module on a copy of my store?

The connection is bound to the address of the store it was made on. On a copy (staging), no order is sent and the original connection is neither refreshed nor revoked. If the store really moved to a new address, connect Printags again.

### Is the module on PrestaShop Addons?

No. It is installed from the zip file on this page: Modules > Module Manager, "Upload a module".

## Your first cards sold from PrestaShop

Install the module, connect your account in Test mode and place a trial order before you open sales.

[Download the module (zip)](https://www.printags.com/downloads/printags-prestashop.zip)

* [All Printags integrations](https://www.printags.com/en/integrations/)
* [A WooCommerce store? The Printags plugin](https://www.printags.com/en/integrations/woocommerce/)
* [The REST API for a custom-built site](https://www.printags.com/en/api-integration/)
* [How the NFC chip is encoded](https://www.printags.com/en/nfc-card-encoding/)
