Missing payment reference
/api/webhooks/coinbase-commerce (and mapped codes) rejected a paid event because no payment reference was present (400).
Why this happens
Charge metadata missing the site’s paymentRef, wrong webhook payload shape, or a test event without checkout metadata. Distinct from Invalid payment reference on member invoice download.
Diagnose and fix
1. Confirm live checkouts still attach the internal payment ref when creating the Coinbase charge.
2. In Coinbase Commerce webhook logs, inspect the event body for the expected metadata/code fields.
3. Re-save Coinbase API/webhook settings under Admin → Settings → Payment.
4. See Coinbase Business / Commerce setup articles if charges never include the ref.