Store connections
Set up ROASaurus on Lightspeed eCom
Create an API key in the Lightspeed back office, paste the key and secret in ROASaurus and press Create webhook. Add the script and the tracking snippet under Web extras. Paid orders arrive instantly, with a check every 5 minutes.
Before you start
- Lightspeed eCom back office access to Settings › Store settings › Developers and Web extras.
Steps
Add the store
In ROASaurus, open the store menu at the top of the sidebar, choose Add a store, then Lightspeed eCom. Enter the address your customers visit and click Continue.
You should see: Connect Lightspeed eCom, with Last order received: none yet, Last sync: never, the numbered setup steps and the credential fields.
Add the tracking script
Copy the script tag from step 1 of the connection page. It contains your store key. Settings › Website settings › Web extras › Custom JavaScript.
You should see: Open your shop with
?roasaurus=connectedat the end of the address: the browser says "ROASaurus is connected."Add the thank-you page snippet
The connection page shows a snippet that fires the browser purchase with the order id. Same page, Tracking box: set Status on and paste the snippet. It also reads the order total and currency. It links the order to the visitor and their ad click exactly; without it, ROASaurus matches by email or by IP address and browser.
Create an API key
Settings › Store settings › Developers › New API key with read access to orders, and enable the key. Fill in API key, API secret, the Region (
eufor webshopapp.com,usfor shoplightspeed.com) and the Shop language code from your API URLs. Save.Create the webhook
Click Create webhook.
You should see: "Webhook created in Lightspeed (orders updated)."
Place a test order
Place a test order and pay it with your shop's test payment method.
You should see: The order under Profit › Orders and Last order received on the connection page. On Getting started, Connect the store turns green.
What you should see
Paid Lightspeed eCom orders appear under Profit › Orders with their channel, and purchases go out to the ad platforms you connected (Data quality › Deliveries). Getting started shows Connected on with the date.
How orders arrive
The webhook reports each updated order; ROASaurus fetches it from the API and counts it once its payment status is paid. Every 5 minutes it also checks for orders the webhook missed. The Lightspeed API has no time zone, so check the time zone under Settings › Store.
What ROASaurus reads
Only paid orders, with their products, totals, currency, customer contact details and address. Contact details are hashed before they go to an ad platform. Refunds follow where the platform reports them. Your shop is never changed.
Common problems
"Connection failed: … Save your credentials first, then test."
"Sync failed: …" or the Connect the store step turns red
Test connection fails with 401
Next step
Next: connect your ad platforms and add your costs.
Continue with Getting startedStill stuck? Email us.