Checking access…

Skip to main content
Version: v2
Audience: Consumers, CCG Platform Engineers

Handle Retries in Your Integration

When to use this page

Building your integration to work well with CCG's automatic retry behavior, and troubleshooting when it doesn't match what you expect. For how retry logic works conceptually, see Retry Mechanisms β€” Overview.

Error Handling Best Practices​

When implementing retry logic in your integration:

  1. Display Clear Error Messages: Provide specific guidance that helps users understand and fix their issues
  2. Implement Progressive Guidance: Increase level of detail with each retry attempt
  3. Offer Alternative Payment Methods: After multiple failures with one payment method
  4. Track Retry Patterns: Monitor common failure points to improve your integration
  5. Test Retry Scenarios: Thoroughly test your integration with various error scenarios
Full settings reference

See Retry Mechanisms β€” Settings, Webhook & Error Reference for exactly which session mode / payment method combinations send a webhook, are retriable, or invalidate the session.

Troubleshooting​

Common Issues​

  1. Session Invalidation Issues: If sessions are being invalidated unexpectedly, check that you're not exceeding the retry count limit.

  2. Missing Webhook Events: Ensure you've correctly configured webhook listeners and are accounting for the different webhook behavior between payment methods β€” see the Session Mode Configuration table.

  3. Error Reporting Discrepancies: Different payment methods (Card vs ACH) have different error reporting behaviors β€” see Error Classification and Webhook Behavior.