Connecting Stripe
Send paid orders from a checkout with Stripe to CookieROAS through a webhook.
For a store or checkout that takes payments with Stripe.

What you need
- Access to the Stripe dashboard
Steps
Create a connection key
In the dashboard, open Tracking › Setup › Order source, choose Stripe and click Create key.
You see the full key (cro_live_…) only once. Copy what you need right away. If you lose it, create a new key; an existing key keeps working.

Add the endpoint in Stripe
Open Stripe dashboard › Developers › Webhooks › Add endpoint and fill in:
| Field | What to enter |
|---|---|
| Endpoint URL | The Order source address |
| Events with Stripe Checkout | checkout.session.completed and checkout.session.async_payment_succeeded |
| Events without Checkout | Only payment_intent.succeeded |

Paste the signing secret
In Stripe, open your new endpoint, click Reveal at Signing secret and paste it (it starts with whsec_) on Order source. CookieROAS refuses orders without a valid signature.
Place a test order
Check out one order in your store. The Place a test order step on the Order source page turns green once the order is in; the page checks every 15 seconds.

Never choose both kinds of events: then every order arrives twice. Put your order number in metadata.order_id and send the same value as transaction_id from the thank-you page.
Check that it works
- The Place a test order step on Order source says Received.
- In Getting started, the Orders from the shop step is green, with the time of the last order.
- The amount and currency of the test order match your store.