API‑Based Order Feed with PHP Storage

Customer: AI | Published: 20.11.2025
Бюджет: 250 $

We want to build a function that fetches the latest orders from our e‑commerce store via API and temporarily stores the data on a PHP server. The data retrieved will include: The city/location of the customer The product ordered On our website sporttema.se, a small, discreet notification box should appear at regular intervals for visitors. Example: “Customer from YYYY ordered XXXXX” After a few minutes, a new box should appear with another order, e.g.: “Customer from ZZZZZ ordered WWWW” Each notification should automatically disappear after about 5–8 seconds. It is important that a cookie is set on the visitor’s device so the same orders are not shown repeatedly to the same user. This is not a live order feed – the orders can be from earlier in the day. Technical Flow Orders are fetched via API and stored temporarily on a separate server. A lightweight script on sporttema.se retrieves the latest orders from that server. The script displays the notifications to visitors at regular intervals, with cookie logic to avoid duplicates.