Stripe troubleshooting
Recover preparation, Stripe payment requests, and webhook delivery without duplicating payments.
On this page
Identify the failed stage
- Confirm the merchant, Carden environment, preparation key, webhook endpoint, and Stripe mode.
- Retain safe request, preparation, Charge, PaymentIntent, endpoint, and event identifiers.
- Distinguish source validation, preparation, the merchant payment request, webhook delivery, captured payment confirmation, and settlement evidence.
- Correct only the failed operation in its authoritative system.
Resolve preparation failures
| Failure | Recovery |
|---|---|
| 400 | Correct the documented JSON shape, required fields, and integer amounts. |
| 401 / 403 | Use an active Stripe-integration Carden key with invoices:read and enrichment:write for the linked flow. |
| 409 source or revision | Finish source refresh and review the link, revision, and idempotency input. |
| 422 domain validation | Resolve factual source or mapping issues; leave unsupported records in review. |
| Timeout / 5xx | Retry identical safe preparation; it never executes a Stripe payment. |
Ordinary mode is a successful source-trusted payment preparation, not an error-recovery path. Review optimizationIssues to improve mappings for later payments. Never convert financial, freshness, access, or provider errors into another payment. Preserve Stripe's original idempotency key and reconcile uncertain outcomes.
Inline bodies are limited to 1,000,000 bytes and stored-invoice preparation bodies to 16,384 bytes. Send unencoded UTF-8 application/json and only documented fields.
Reconcile the existing Stripe payment
- Keep checkout's Stripe credentials, account routing, confirmation flow, and idempotency key.
- Inspect current Stripe state after an ambiguous response.
- Add enrichment to the existing server-side request, not a second payment operation.
- Keep browser confirmation unchanged where Stripe.js already confirms the PaymentIntent.
- Preparation and delivery verification alone never prove capture or verified savings.
Recover Stripe webhook delivery
| State | Action |
|---|---|
| Not configured | Select Create webhook endpoint on Stripe > Setup, add its URL in Stripe Dashboard, and save that endpoint's signing secret. |
| Awaiting secret | Paste the endpoint signing secret, not a Stripe API key. Use the matching Stripe mode. |
| Awaiting event | Send a test delivery from this Stripe endpoint. Setup checks automatically while waiting; Refresh webhook status checks manually. |
| Signature rejected after rotation | Select Update signing secret, replace it with Stripe's current endpoint secret, then send another signed event. |
| Delivery verified, zero captured payments | Failed-payment, refund, dispute, or synthetic test deliveries can verify delivery. Complete an actual test-mode capture and inspect its delivery and payment identity. |
| Disabled | Create replacement endpoint, configure the new URL in Stripe, and save its own secret. Remove the old endpoint in Stripe; Carden keeps it disabled. |
| Historical or fee evidence missing | Webhook setup does not import historical charges or fee reports. Connect a restricted read-only key under Settlement and fee evidence; the scheduled sync records settlements and itemized fee lines and backfills card, refund, and dispute facts for earlier payments. |
| Restricted key rejected | Paste a restricted key (rk_test_ in sandbox, rk_live_ in production) with Charges: Read and Balance: Read. Secret keys and keys missing either permission are refused; the message names the missing permission. |
| Evidence sync failed | Open Settlement and fee evidence for the error summary, confirm the key is still valid in Stripe, then select Sync now. Stalled runs are replaced automatically by the scheduler. |
| Dispute lost | A lost dispute is recorded with its resolution time and the issue code processor_dispute_lost; the invoice's remaining amount excludes the withdrawn funds and the evidence no longer stays pending. |
| Optional observation API failure | Retry only the same report body and eventId, never the payment. Observations do not replace signed Stripe confirmation. |
Select snapshot events payment_intent.succeeded, payment_intent.payment_failed, payment_intent.canceled, charge.succeeded, charge.failed, charge.captured, charge.updated, charge.refunded, refund.created, refund.updated, refund.failed, charge.dispute.created, charge.dispute.updated, charge.dispute.closed, charge.dispute.funds_withdrawn, charge.dispute.funds_reinstated. Carden has no Stripe API credential for retrieving thin events; configure snapshot deliveries.
Webhook delivery is asynchronous, not an instant checkout acknowledgment. Optional payment reports have a 32,768-byte body limit and must contain only normalized allowlisted facts.
Escalate with safe evidence
Provide merchant, environment, failed stage, safe payment and event identifiers, delivery status, and payment impact. Redact API keys, Stripe secrets, client secrets, webhook secrets, and card data.
Actual captured payment evidence confirms activity. Network qualification and verified savings require settlement and cost evidence plus an appropriate baseline and pass-through pricing terms.