Connect PrestaShop to Pack Declare
Pack Declare module for PrestaShop 8: pushes paid orders and products to your EPR declarations. Private beta — the module is sent on request.
Setup in 5 steps
1Generate a Pack Declare API key
Log into Pack Declare → Settings → API Keys and create a new key with the `orders:write` and `products:write` scopes. Copy the token — it's shown only once.
2Request the module, then install it
The module is not available for download yet. During the private beta we send `packdeclare.zip` by email on request — write to support@packdeclare.com. Once you have it, upload it via Modules → Module Manager → Upload a module in your PrestaShop back office.
3Configure the module
Go to Modules → Installed modules → Pack Declare → Configure. Paste your API key and click 'Save & Test Connection'. A green confirmation message confirms the key is valid.
4Verify orders are flowing
Place a test order (or change the status of an existing order to 'Payment accepted'). It should then appear under Imports in your Pack Declare dashboard.
5Assign packaging BOMs
Back in Pack Declare, go to Products to see the SKUs imported from PrestaShop. Assign a packaging BOM to each product, then run a declaration compute.
Things worth knowing
- Orders are ingested when the status changes to 'Payment accepted' (id=2) or 'Processing in progress' (id=3) to avoid double-counting.
- Product sync is triggered every time you save a product in the back office.
- The module uses the `product_reference` field as the SKU. If that is empty it falls back to `PS-{product_id}`.
- Built for PrestaShop 8.x with PHP 8.1+. The module only captures events going forward; import older orders via CSV.