Skip to main content
Version: v2

Abandoned Payments

Overview​

When a user closes their browser or loses connection during a split tender payment, the system can be left in an ambiguous stateβ€”one payment may be completed while the other fails. This section details the risks, system behaviors, and automated recovery mechanisms for handling such unattended or abandoned transactions.

BUSINESS RISK

Critical Edge Case: Browser closure or session loss during split tender processing can result in:

  • Asymmetric transaction states (one payment succeeded, one failed)
  • Financial reconciliation issues
  • Customer confusion about charged/reserved funds
  • Potential duplicate payment attempts

Session Timeout & Abandonment​

CCG sessions have configurable timeout settings to automatically handle abandoned transactions:

Session TypeDefault TimeoutMaximum DurationConfigurable
UI Session15 minutes30 minutesYes
info

When sessions time out, CCG's automated recovery process will initiate to resolve any pending or partially completed transactions.

Abandonment Scenarios​

Common Abandonment Patterns
ScenarioDescriptionRisk Level
Browser ClosureUser closes browser/tab during payment processingHigh
Connection LossNetwork interruption during transaction processingHigh
Session TimeoutUser leaves page idle for extended periodMedium

Browser Closure During Split Payment​

Browser Closure Flow Analysis

State Analysis & Resolution​

Transaction States & Automated Resolution
ComponentInitial StatusAutomated ResolutionFinal StatusTimeframe
Payment Method 1AUTHORIZEDCancel authorizationCANCELLEDWithin 15 min
Payment Method 2FAILEDNo action requiredFAILEDImmediate
UI SessionTERMINATEDSession cleanupEXPIRED15 min timeout
API StatePARTIALRoll back successful partsFAILEDWithin 15 min
Customer FundsRESERVEDFunds releasedAVAILABLE1-5 business days*

*Fund availability timing depends on the financial institution's processing schedule.

CCG Automated Recovery Process​

CCG implements a robust automated recovery process to handle abandoned split tender transactions:

  1. Detection:
    • Session timeout/cancel triggers
  2. Analysis:
    • Identify asymmetric payment states
    • Evaluate transaction completeness
    • Determine appropriate rollback strategy
  3. Resolution:
    • Cancel authorizations for successful payment methods
    • Mark transaction as FAILED
    • Log recovery actions for audit trail
    • Generate merchant notification if configured
  4. Notification:
    • Send webhook event PAYMENT_FAILED to merchant