Skip to main content

Setup

Required env vars:

How it works

Comgate doesn’t support customers, subscriptions, or updating checkouts/payments. It also doesn’t support retrieving checkouts — use paykit.payments.retrieve to look up transaction status instead.

Webhooks

Comgate sends a POST with merchant, secret, transId, and status fields in the body. PayKit verifies the secret and merchant ID directly, then calls /v1.0/status to confirm the transaction status server-side.
Comgate statuses and their PayKit event mappings:

Raw Comgate events

Comgate webhooks carry a status field rather than named event types. You can listen for the raw status values via the comgate.* namespace:

provider_metadata