Store sage_invoice_id in PrestaShop’s ps_order_sage custom table. Before sending, check if already synced.
The most critical technical component is the . A naive sync can cause race conditions (e.g., two orders for last item in 0.5 seconds). sage prestashop
The integration must be : replaying the same order webhook should not create duplicate invoices in Sage. sage prestashop