PrestaShop modules and integrations with ERP, payments and couriers

VulCode writes PrestaShop modules and connects stores on the platform with ERP, wholesalers, payments, couriers and KSeF (Poland's national e-invoicing system). A module or integration costs from PLN 999 (about EUR 220) and usually takes 2-3 days. We choose the route to your data that fits the process: the Webservice, the Admin API from version 9 or a custom module. We check every module on a copy of the store so it survives the next update.

PrestaShop

Three routes to PrestaShop data

Each suits something else, so for every job we take the one that does it most reliably. An integration often combines two.

WebserviceREST under /api/Admin APIfrom PrestaShop 9A custom modulecode in the store
Access a key in a Basic header, no passwordan OAuth token with scopesruns inside the store
Permissions per resourceby the API client's scopesfull, so the code must be reviewed
Reacts to store events NoNoYes
Works in PrestaShop 8 YesNoYes
Complex operations PartlyYesYes

The Webservice only reads and writes data, so it cannot run a complex action. The PrestaShop 9 Admin API runs whole store operations, and a module reaches all of the store's logic.

Webservice rules that shape the integration

Most PrestaShop integration problems start with one of these rules, so we set each one up from day one.

RuleAccording to the documentationWhat we do
Enablingthe Webservice is off by defaultWe turn it on only when the integration uses it.
Key32 characters, permissions per kind of dataA separate key per integration, with access to the data it needs only.
The key outside the addressthe key in the hidden part of the request, no passwordThe key never goes into the address, where it would stay in the server logs.
Reading and writingXML or JSONWe read in the light JSON format and write from PrestaShop's blank template, so every write has exactly the shape the store expects.
Multistorenaming the shop and assigning the key to shopsEvery request names its shop, so stock never lands in the wrong one.

Webservice, Admin API and modules

PrestaShop

What we connect a PrestaShop store to

The most common connections. Each has its own page.

01 / 06

  1. ERP and warehouse

    PrestaShop ERP and warehouse

    orders as documents, stock from the warehouse

  2. Wholesalers

    PrestaShop Wholesalers

    products, prices and stock from files or APIs

  3. Payments

    PrestaShop Payments

    a payment module and confirmations

  4. Couriers

    PrestaShop Couriers

    pickup points, labels and statuses

  5. KSeF

    PrestaShop KSeF

    invoices from orders via the ERP or a module

  6. Allegro

    PrestaShop Allegro

    shared stock and orders

PrestaShop stock versus the ERP record

Every product variant, called a combination in PrestaShop, keeps its own stock. This is how we join it to the ERP record.

PrestaShopERP or wholesaler
product
the item record

via a product map by code

combination, i.e. variant
a variant, e.g. a size

every combination has its own stock row

quantity
available stock

from the source of truth, never summed in two places

selling at zero
the rule for selling at zero

set once, together with you

shop
a warehouse or channel

with several shops in one install

Every stock change in the store fires an event the module can use to pass the new level on at once.

What we watch out for with PrestaShop

What decides whether a module and integration survive the next upgrade.

Points left 5

Done: 0
  1. 01 Module compatibility Versions The Update Assistant uninstalls modules incompatible with the new version. We test custom modules on a store copy before upgrading.
  2. 02 PHP version Versions PrestaShop 9.0 runs on PHP 8.1 to 8.4, and 9.1 up to 8.5. We check the server before changing the store version.
  3. 03 Not all rights for one key Security The docs warn against it outright. The integration key gets only the resources it uses.
  4. 04 HTTPS for the Admin API Security In production mode the PrestaShop 9 Admin API requires HTTPS, so we check the certificate first.
  5. 05 Module controllers with a token Security A module address that takes outside data turns away every call without its own secret key.
  6. All points checked Versions 2/2 Security 3/3

A ready module or your own

PrestaShop has a large module marketplace. We write a custom one where a ready one does not cover the process.

A ready module

  • The payment or courier has an official module for your version.
  • Panel configuration is enough.

Install and configure. We check compatibility with your PrestaShop version.

A custom module

  • You connect the store to an ERP, wholesaler or KSeF by your own rules.
  • Several ready modules overwrite each other's data.
  • You plan to upgrade to PrestaShop 9.

A module with a clear version range, tests on a store copy and code in a repository.

Upgrading a store with custom modules

The Update Assistant handles the backup and upgrade, and we look after modules and integrations so everything works afterwards.

  1. 1

    Module inventory

    We check each module's version range and whether it has a release for the target PrestaShop.

    a list: update, replace, rewrite

  2. 2

    Upgrade or migration

    With an older version, e.g. 1.7, after the inventory we tell you which is cheaper: an upgrade or a store migration.

    a decision on the route

  3. 3

    Server and PHP

    We check the server's PHP version before changing the store version. PrestaShop 9.0 runs on PHP 8.1 to 8.4, and 9.1 up to 8.5.

    a server ready for the new version

  4. 4

    Store copy

    We upgrade a copy on a test server with the right PHP version.

    a working copy on the new version

  5. 5

    Modules and integrations

    We fix custom modules and test an order, payment and shipment end to end.

    a list of tested processes

  6. 6

    Keys and HTTPS

    The Webservice key gets only the resources it needs, and we check the certificate, because the PrestaShop 9 Admin API requires HTTPS in production mode.

    checked keys and certificate

  7. 7

    Backup

    Before upgrading the live store, the Update Assistant makes a backup the store can be restored from.

    a backup to restore from

  8. 8

    Production

    The upgrade in maintenance mode and the post-update checklist.

    the store on the new version

PrestaShop glossary

Terms that come up in a quote and in talks about the integration.

Hook
A point in the store code where a module attaches its own action, e.g. a new order.
Combination
A product variant, e.g. size and colour, with its own stock and price.
Webservice key
A 32-character key with permissions for chosen resources.
Multistore
Several shops in one install. API requests name the shop with id_shop.
Update Assistant
The autoupgrade module for upgrading, backing up and restoring the store, formerly 1-Click Upgrade.

Common questions about PrestaShop

The main questions about PrestaShop: upgrading, modules, performance, cost and code.

We run PrestaShop 1.7. Upgrade or migrate?
Upgrade when the store has few custom modules and its features are enough for you. Migrate when most modules would have to be rewritten. After the module inventory we give the cost of both routes. We cover migration on the migration page.
How long does it take?
Usually 2-3 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.
How much does a PrestaShop module or integration cost?
A PrestaShop module or integration costs from PLN 999 (about EUR 220) under our API and integrations service, and the rollout usually takes 2-3 days. A simple module with one connection fits that amount, while a two-way ERP integration and an upgrade to version 9 are quoted separately. The quote is free and comes back within an hour.
Will the module work in PrestaShop 8 and 9?
Yes. We build modules on features found in both versions and record a compatibility range from 8 to 9 in them. The Admin API exists only in PrestaShop 9, so on 8 we use the Webservice or a module.
Will the integration slow the store down?
No. During checkout the module only records the event, and data exchange with the ERP runs in the background, so the customer never waits.
What if the ERP stops answering?
Checkout in the store finishes as usual. The event waits in the module's queue and goes to the ERP once it answers again, in the order it happened.
Will upgrading to PrestaShop 9 switch our modules off?
The Update Assistant uninstalls modules incompatible with the new version, so we first take a module inventory and upgrade a copy of the store on a test server. The live store gets a version in which ordering, payment and shipping have been checked.
Will the PrestaShop module and integration code be mine?
Yes. Once the work is accepted and paid in full, the economic copyright in the module and integration code passes to you and you get the repository with run instructions. Open source libraries keep their own licences.
How do you check a PrestaShop module and integration before launch?
On a copy of your store on a test server. We run an order, payment, shipment, errors and returns end to end, and only then switch the integration on in the live store.
What if PrestaShop releases a new version?
We check custom modules and integrations on a copy of the store with the new version and fix whatever stopped working: within the 90 days of support included after launch, later under a maintenance plan or as a separate short order.

Sources

Technical details come from the PrestaShop 9 developer documentation.

Describe your project.

A free quote comes back within an hour during working hours.