Online shop

Connect PrestaShop to TPVStream

Install the module, paste the connection code and schedule the cron.

On this page

The TPV Stream module connects your PrestaShop shop to your POS. It takes a few minutes to install.

Requirements

  • PrestaShop 1.7.6 to 9, with PHP 7.1 or later and the cURL extension.
  • TPVStream cloud access: see pricing.
  • The latest version of TPVStream, with the main register connected to the internet.
  • A shop in https for real time. Without https, the module works with the cron only.
  • Multistore: only the default shop is synced.

1. Install the module

  1. Download tpvstream.zip. Do not unzip it.
  2. In PrestaShop, open Modules › Module Manager, click Upload a module and choose the file.
  3. Click Configure on TPV Stream.

2. Connect the shop

  1. On the POS, sign in as an admin and open Settings › Online shop.
  2. On PrestaShop, tap Turn on, then Copy.
  3. In the module, paste the code in Connection code and click Save.

The module checks the code with the POS and turns on real time when the shop is in https: POS sales update the shop stock within seconds.

Copy the code from a POS open on the same computer as PrestaShop, so you do not have to type it.

3. Choose the options

Choose what is synced and click Save: Sync stock, Sync prices and Create missing products. The first two are already on. See Products, stock and prices with PrestaShop.

Before the first sync, check the stock and prices in the POS and back up your shop: linked products take the POS values.

4. Schedule the cron

The module page shows a cron line with a secret address. Add it on your server or in your hosting panel so that it runs every 5 minutes. It sends the pending online sales, reads the changed products and checks the whole stock.

Schedule the cron even if you use real time. To sync at once, click Sync now.

5. Check

Click Sync now. The module shows how many products were linked, created and updated. On the POS, Online shop shows Connected.

Change the code

If you lose the code or change server, tap New code on the POS and paste it in the module. The old one works 7 more days at most.

Uninstall

  1. Uninstall the module in PrestaShop. Its settings and links are deleted; your products are kept.
  2. On the POS, tap Turn off on PrestaShop.
WhatsApp