Skip to content

Conversation

@SarahSoutoul
Copy link
Contributor

@SarahSoutoul SarahSoutoul commented Oct 21, 2025

🔎 Previews:

What does this solve?

The finalize function for useCheckout doesn't take a redirectUrl parameter anymore. Instead, it takes a navigate parameter, as since in the changelog and code below + PR with the change:

Screenshot 2025-10-20 at 3 55 30 pm Screenshot 2025-10-21 at 12 56 14 pm

This PR updates all code examples with the new setup + updates the type of finalize() in the useCheckout options.

What changed?

  • Updated type of finalize() in the useCheckout options.
  • Updated code examples with new setup

Checklist

  • I have clicked on "Files changed" and performed a thorough self-review
  • All existing checks pass

@SarahSoutoul SarahSoutoul self-assigned this Oct 21, 2025
@SarahSoutoul SarahSoutoul requested a review from a team as a code owner October 21, 2025 18:59
@vercel
Copy link

vercel bot commented Oct 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
clerk-docs Ready Ready Preview Oct 24, 2025 3:36pm

@alexisintech alexisintech changed the title Update finalize code examples after refactoring of its params Replace checkout.finalize({ redirectUrl }) with checkout.finalize({ navigate }) Oct 23, 2025
@SarahSoutoul SarahSoutoul merged commit a6746e0 into main Oct 24, 2025
7 checks passed
@SarahSoutoul SarahSoutoul deleted the ss/DOCS-11094 branch October 24, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants