Connect
- In Creem, copy your API key from Developers → API Keys. A test key reaches Creem’s sandbox.
- Paste it into Setup → Payments → Creem.
DataPenny creates the webhook and never stores the key.
By hand
Add a webhook under Developers → Webhooks, pointing at https://YOUR-DATAPENNY-URL/api/webhooks/creem/YOUR_SITE_ID. Subscribe to checkout.completed, subscription.paid and refund.created, then paste the signing secret under Connect by hand.
Checkouts
Payment links (creem.io/payment/…) are tagged by the script.
Checkouts you create with the API need the visitor id in metadata:
metadata: { datapenny_visitor_id: visitorId }
Creem adds checkout_id to your success URL, which the script reads as a fallback.
Past sales
Creem history can’t be imported yet. New sales arrive from the moment the webhook is connected.