Store connections

Set up ROASaurus on MyCashFlow

Updated

Yes. Fill in your shop's mycashflow.fi address, an API user and its key, then press Create webhook: new orders arrive instantly, with a check every 5 minutes.

Before you start

  • A MyCashFlow plan with API access and an API user with its key.

Steps

  1. Add the store

    In ROASaurus, open the store menu at the top of the sidebar, choose Add a store, then MyCashflow. Enter the address your customers visit and click Continue.

    You should see: Connect MyCashflow, with Last order received: none yet, Last sync: never, the numbered setup steps and the credential fields.

  2. Add the tracking script

    Copy the script tag from step 1 of the connection page. It contains your store key. Add it to every page of the shop through the theme's head section.

    You should see: Open your shop with ?roasaurus=connected at the end of the address: the browser says "ROASaurus is connected."

  3. Fill in the credentials

    Enter the Shop domain as yourshop.mycashflow.fi (the API does not answer on your own domain), the User name and the API key. Save and click Test connection.

    You should see: "Connected to MyCashflow."

  4. Create the webhook

    Click Create webhook.

    You should see: "Webhook created in MyCashflow (order created)."

  5. Add the thank-you page snippet

    The connection page shows a snippet that fires the browser purchase with the order id. Fill in the order id, total and currency on the order confirmation page. It links the order to the visitor and their ad click exactly; without it, ROASaurus matches by email or by IP address and browser.

  6. 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 MyCashflow 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 order.created webhook tells ROASaurus about each new order, signed with your API key; ROASaurus then fetches the order. Every 5 minutes it also fetches orders changed since the last check.

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."
Test connection, Create webhook and Fetch orders now use the saved credentials. Click Save after you change a field, then test again. The text after "Connection failed" is the platform's own answer, for example a refused key.
"Sync failed: …" or the Connect the store step turns red
The platform refused the fetch, most often because the key was removed or lacks read access to orders. Create a new key with the access listed on the connection page, save it and press Fetch orders now.
Test connection fails with your own domain
Use the shop's default address on mycashflow.fi in Shop domain.
"A webhook from … arrived with a wrong token or signature."
The webhook in your shop does not use the URL or secret ROASaurus expects. Copy Your webhook URL again from the connection page, and paste the same secret in both places.

Next step

Next: connect your ad platforms and add your costs.

Continue with Getting started

Still stuck? Email us.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.