Skip to documentation content

Stripe troubleshooting

Recover preparation, Stripe payment requests, and webhook delivery without duplicating payments.

On this page

Identify the failed stage

  1. Confirm the merchant, Carden environment, preparation key, webhook endpoint, and Stripe mode.
  2. Retain safe request, preparation, Charge, PaymentIntent, endpoint, and event identifiers.
  3. Distinguish source validation, preparation, the merchant payment request, webhook delivery, captured payment confirmation, and settlement evidence.
  4. Correct only the failed operation in its authoritative system.

Resolve preparation failures

FailureRecovery
400Correct the documented JSON shape, required fields, and integer amounts.
401 / 403Use an active Stripe-integration Carden key with invoices:read and enrichment:write for the linked flow.
409 source or revisionFinish source refresh and review the link, revision, and idempotency input.
422 domain validationResolve factual source or mapping issues; leave unsupported records in review.
Timeout / 5xxRetry 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

StateAction
Not configuredSelect Create webhook endpoint on Stripe > Setup, add its URL in Stripe Dashboard, and save that endpoint's signing secret.
Awaiting secretPaste the endpoint signing secret, not a Stripe API key. Use the matching Stripe mode.
Awaiting eventSend a test delivery from this Stripe endpoint. Setup checks automatically while waiting; Refresh webhook status checks manually.
Signature rejected after rotationSelect Update signing secret, replace it with Stripe's current endpoint secret, then send another signed event.
Delivery verified, zero captured paymentsFailed-payment, refund, dispute, or synthetic test deliveries can verify delivery. Complete an actual test-mode capture and inspect its delivery and payment identity.
DisabledCreate 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 missingWebhook 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 rejectedPaste 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 failedOpen 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 lostA 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 failureRetry 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.