Improved

Session data and quote IDs

POST /v3/checkout/sessions now returns sessionData alongside sessionId and clientSecret. The quote is worked out in the consumer's browser, so the quoteId reaches your page through the SDK's events rather than the session response.

What's changed

  • Pass sessionId, clientSecret and sessionData to the SDK exactly as they came back.
  • Take the quoteId from the SDK's ready and toggleChanged events and pass it when you allocate funds.

See Create a checkout SDK session and Checkout SDK for the full request, response and event payloads.