1
refreshClientSession: Promise<Boolean>
ts
copy
Update the checkout with the latest client session.
You should call refreshClientSession
for the checkout to have access to the latest changes each time you update the client session with PATCH /client-session
.
12345
const checkout = await Primer.showUniversalCheckout(clientToken, options) // Refresh client session by calling refreshClientSession// This will result in Drop-In Checkout having access to the latest changes made to the client sessioncheckout.refreshClientSession()
ts
copy