Revenue
Creem
One webhook endpoint, two metadata keys on each checkout, and a success page on your site for the rest.
Updated All docs as one Markdown file
The webhook
Endpoint URL
https://geckostats.com/api/webhooks/creem/<website-id>Add it in Creem and paste the signing secret into the Connect payments step of the website. A creem_test_ key only ever talks to the sandbox, and test payments arrive through the same handler.
Metadata and the success page
Node
await creem.createCheckout({
product_id,
metadata: { ...existingMetadata, ...attribution },
success_url: 'https://<your-domain>/thanks',
});Creem appends ?checkout_id=… and ?order_id=… to the success URL itself; keep them on the page until the script has loaded. Creem's static payment links cannot carry metadata, so for those the success page on your site is the whole mechanism.