Skip to main content
Version: v2

Sessions Scenarios

Scope
  • Session Mode: PAYMENT_WITH_WALLET | API Scope: user | API Endpoint: v2/sessions | Interaction mode: UI
  • Maximum number of payment methods: 2
  • Payment Type: SALE
  • Transaction Type: Any
Out-Of-Scope
  • Mode: One Time Pay Pay & Save
  • Payment Type: PRE-AUTH

Business Use Caseโ€‹

Standard Payment Scenariosโ€‹

Standard Payment Scenarios
IDScenarioRetry Attempt PendingUser TypeFirst Payment StatusSecond Payment StatusAmountCCG ActionsFinal Session StatusPayment Status
1Both Payments SuccessfulN/ACustomer/Agentโœ… COMPLETEDโœ… COMPLETEDSplit (e.g. 60ยข + 40ยข)Process both paymentsโœ… COMPLETEDSUCCESS
2Allow Single PaymentN/ACustomer/Agentโœ… COMPLETEDN/AFull (e.g. 10ยข)Capture the Transactionโœ… COMPLETEDSUCCESS
3One Payment Success, Another Payment โŒ FAILEDYesCustomer/Agentโœ… COMPLETEDโŒ FAILEDSplit (e.g. 60ยข + 10ยข)Reverse first paymentโณ INITIATEDโŒ FAILED
4Amount less than 1 cent for one paymentYesCustomer/AgentโŒ FAILEDโŒ FAILEDInvalid (e.g. 0.5ยข + 9999.5ยข)Fail transaction, show errorโณ INITIATEDโŒ FAILED

3DS Authentication Scenariosโ€‹

3DS Authentication Scenarios
IDScenarioRetry Attempt PendingUser TypeFirst Payment StatusSecond Payment StatusAmountFinal Session StatusCCG Actions
5Card 1 requires 3DS auth (not COMPLETED)YesCustomer3DS Requiredโœ… AUTHORIZEDSplit (e.g. 60ยข + 40ยข)โŒ FAILED3DS Auth unsuccessful for one card, another card transaction should be cancelled
6Card 1 requires 3DS auth (Agent Session)YesAgent3DS Requiredโœ… COMPLETEDSplit (e.g. 60ยข + 40ยข)โŒ FAILED3DS Auth not allowed for agent, CCG cancels auth of card2
7Card 1 requires 3DS auth (โœ… COMPLETED successfully)N/ACustomerโœ… COMPLETEDโœ… COMPLETEDSplit (e.g. 60ยข + 40ยข)โœ… AUTHORIZED3DS Auth โœ… COMPLETED and CCG captures both card

ACH Specific Scenariosโ€‹

ACH Specific Scenarios
IDScenarioRetry Attempt PendingUser TypeFirst Payment StatusSecond Payment StatusAmountCCG ActionsFinal Session StatusPayment Status
8Consent UnavailableYesAnyโŒ FAILED (ACH)NASplit (e.g. 60ยข + 40ยข)Consent is required for ACHINITIATEDโŒ FAILED

Retry Exhausted Scenarioโ€‹

When all retry attempts for a split tender transaction are exhausted, no further retries are allowed for that session. The user must initiate a new transaction if they wish to try again. This ensures transaction integrity and prevents indefinite retry loops.

Retry Exhausted
IDScenarioRetry Attempt PendingUser TypeFirst Payment StatusSecond Payment StatusAmountCCG ActionsFinal Session StatusPayment Status
9Retry ExhaustedโŒ NoAnyโŒ FAILEDโœ… COMPLETEDSplit (e.g. 60ยข + 40ยข)No Retry Attempts LeftโŒ FAILEDโŒ FAILED

Special Cases: Guest Fallback and Abandoned Payment Scenariosโ€‹

These scenarios cover edge cases where the session is abandoned or a guest fallback is triggered. Each scenario ensures that incomplete or abandoned payments are handled gracefully, maintaining system integrity and user experience.

Special Cases: Guest Fallback and Abandoned Payment Scenarios

Abandoned Payment Scenariosโ€‹

If a session is abandoned (e.g., browser closed or session timeout), any pending or partially completed payments are automatically cancelled to prevent orphaned transactions and ensure customer funds are not held.

IDScenarioRetry Attempt PendingUser TypeFirst Payment StatusSecond Payment StatusAmountCCG ActionsFinal Session StatusPayment Status
10Browser Closure Before handling 3ds challenge of second paymentYesCustomerโœ… COMPLETEDPendingSplit (e.g. 60ยข + 40ยข)Cancel dangling transaction when session is cancelled๐Ÿšซ CANCELEDโŒ FAILED
11Session TimeOutYesCustomerโœ… COMPLETEDPendingSplit (e.g. 60ยข + 40ยข)Cancel dangling transaction when session is expired๐Ÿ›‘ EXPIREDโŒ FAILED

Guest Fallbackโ€‹

If a split tender attempt fails, guests may be offered a fallback to complete the transaction with a single payment method, improving the likelihood of successful checkout.

IDScenarioRetry Attempt PendingUser TypeFirst Payment StatusSecond Payment StatusAmountCCG ActionsFinal Session StatusPayment Status
12Guest Payment FallBackYesGuestโœ… COMPLETEDN/AFull (e.g. 60ยข)One Time Pay with one Payment Methodโœ… COMPLETEDN/A