Embedded Checkout 2.0

Checkout 2.0 inside a source app

Basket owned by the app. Payment owned by Checkout.

Checkout settingsNeeds setup

Checkout settings

Proof setup only. Product settings should be Portal-authenticated and merchant-scoped.

Secure
not configured
Proof setup order1. Create the settings token in Vercel. 2. Use the same token here to save runtime keys. 3. Enter NMI keys and a generated signing secret. 4. Check the readiness row turns green. Product Checkout should replace this with Portal-authenticated settings.

Source order

Build the sale, then hand Checkout 2.0 a locked payment context.

1

Checkout 2.0 boundary

Create the source order to mount the embedded payment boundary here.

Authoritative result

The source order changes only after Checkout returns the result.

awaiting payment
Source order status
draft
Source order ID
order_initial
checkoutSessionId
not created
paymentAttemptId
not created
Provider transaction
not approved
Callback/result received
pending

Support trace

source order -> checkout session -> payment attempt -> provider transaction

1
source orderorder_initial

Draft basket £0.00

2
checkout sessionnot created

Waiting for session

3
payment attemptnot created

Waiting for submission

4
provider transactionnot approved

Created only after approved gateway result

5
Portal card turnoverpending

Recorded only for approved payment

Portal card turnoverNo approved turnover yet