A 3D Secure test has two independent questions: did authentication complete, and what happened to the payment? A checkout that displays “paid” after the challenge closes can answer the second question incorrectly. This guide supplies an event-ordering model and a browser test plan for the gap between those events.

Separate authentication, authorization and capture

ObservationWhat the application should establish next
Challenge finished or frictionless authentication completedRetrieve or receive trusted payment state
Authentication lookup failedPreserve the cart; reconcile the attempt and follow provider recovery guidance
Payment requires another methodOffer recovery using the provider’s supported flow
Amount authorized with manual captureWait for the server’s capture policy; do not label it captured
Matched server payment succeededDisplay the recorded order status and use the fulfillment workflow

3DS is an authentication protocol; SCA is a regulatory requirement whose applicability and exceptions depend on the transaction and jurisdiction. An exemption request is not a guarantee that an issuer will accept it. Merchant-initiated transactions have their own conditions and should not be casually grouped with low-value exemptions. Consult the provider’s SCA guidance for the integration involved.

Successful authentication also does not guarantee a liability shift for every dispute. Stripe describes network- and transaction-specific limitations in its 3DS authentication documentation. Record the provider’s relevant outcome instead of deriving liability from the fact that a challenge appeared.

Select a reproducible authentication scenario

These Stripe sandbox fixtures come from the same data file as the central card reference. Confirm the environment, Radar configuration and integration flow alongside the number.

Card numberScenarioSandbox expectation
40000000000032203DS requiredAuthentication required; default Radar rules request 3DS. Complete the test challenge.
4000008400001629Authenticate, then declineSuccessful authentication followed by card_declined. Authentication is not payment success.
4000000032200000Frictionless 3DSRequired authentication completes through a frictionless flow.
40000084000012803DS lookup errorAuthentication lookup fails; payment returns card_declined.

Source: Stripe testing documentation. Selected fixtures checked 2026-11-08. These local checks do not call Stripe.

The authenticate-then-decline case is particularly useful: completing the test challenge must not create a paid order. The lookup-error case needs a recovery screen rather than an endless spinner. Use the provider’s own scenario UI; a local generated number does not select a documented 3DS outcome.

Exercise both browser and server arrival orders

The model below starts at pending. It accepts payment observations only from a server adapter that has already verified the source and matched the payment to the order. Browser return parameters carry no authority to mark it paid.

export function checkoutView(current, observation) {
  // Provider observations must already be verified and matched to this order.
  const allowed = ['action-required', 'pending', 'authorized', 'paid', 'payment-method-required', 'canceled'];
  if (observation.source === 'browser') return current; // Redirect parameters cannot mark paid.
  if (observation.source !== 'server' || !allowed.includes(observation.state)) return {...current, review: true};
  if (current.review) return current;
  if (current.state === 'paid') return current; // Late earlier states do not undo payment.
  return {state: observation.state, review: false};
}
CaseInput / conditionExpected result
return-firstBrowser claims success before verified server result{"review":false,"state":"pending"}
event-firstVerified success, then browser return{"review":false,"state":"paid"}
return-then-eventBrowser return, then verified success{"review":false,"state":"paid"}
late-processingPaid, then delayed processing{"review":false,"state":"paid"}
auth-not-paymentAuthentication completed, payment declined{"review":false,"state":"payment-method-required"}
canceledServer confirms canceled attempt{"review":false,"state":"canceled"}
challenge-timeoutBrowser challenge times out; server not yet known{"review":false,"state":"pending"}
off-session-actionServer requires customer authentication{"review":false,"state":"action-required"}

For browser first, delay server processing, return to the order page and show “Confirming payment.” Fetch authenticated order state until it changes, or offer a status refresh after a bounded wait. A network timeout must not encourage the buyer to create a second payment while the first outcome is unknown.

For server first, process the payment before allowing the browser to return. The order page should immediately show the stored paid state. A late processing observation must not overwrite it. This small view model has no delivery side effects; the Stripe guide demonstrates the separate transactional job boundary.

A browser cancellation or timeout is also not proof of a canceled payment. Reconcile with the server. The model’s sticky paid state covers a single payment attempt only: refunds, disputes and a new attempt belong in explicit additional states, not a reused cancellation flag.

Test the actual challenge UI on a phone

The offline model cannot render a bank’s challenge. Repeat these checks with your provider’s sandbox and record device, viewport, integration version and observed result:

InteractionExpected usability result
Open the challenge at 390px widthPrompt, controls and cancel path remain reachable without page-wide horizontal scrolling
Show the software keyboardSubmit control remains reachable; no hidden required field
Navigate with keyboard or assistive technologyFocus enters the challenge appropriately and returns to a meaningful checkout control
Cancel, press back or close the challengeCart survives; application reconciles the payment before offering a retry
Return over a slow connectionClear confirming state with a bounded wait and a manual status refresh
Authentication succeeds but payment declinesAccurate recovery message; no receipt or fulfillment job

Do not read or modify a cross-origin issuer frame to force an outcome. Use the provider’s supported test interface. Test your surrounding dialog’s focus and scroll handling separately from controls owned by the provider.

Run the state cases

Download the shared offline project , extract it and run with Node.js 22 or later:

node --test guide-examples.test.mjs payment-guide-examples.test.mjs
node guide-demo.mjs three-ds

The table and the tests share the same observations and expected results. These checks cover the application’s interpretation layer; they do not certify SCA compliance or prove that a live issuer will take the same path. Add the payment-form checklist for input, recovery and accessible error handling around authentication.

The Stripe authentication scenarios and references were last checked against provider documentation on . Providers do change what they publish — the official link beside each claim is authoritative.

Frequently Asked Questions

Does successful 3DS mean the payment succeeded?
No. Authentication can succeed and authorization can still be declined. Manual capture and asynchronous processing add further states before a paid order.
Does 3DS always show a challenge?
No. A supported flow can be frictionless. Whether authentication is requested and what the issuer presents depends on the provider configuration and transaction.
Does successful 3DS guarantee liability shift?
No. Eligibility depends on network rules, the transaction and the dispute. Stripe explicitly documents cases where successful authentication does not produce a shift.
What does the offline model verify?
It verifies that browser claims cannot set payment state and that both browser/server arrival orders preserve confirmed payment. It does not invoke an issuer challenge or validate regulatory exemptions.