Skip to content

feat(clerk-js): Add payment sources to OrgProfile, org-specific commerce endpoints #5554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Apr 8, 2025

Conversation

aeliox
Copy link
Contributor

@aeliox aeliox commented Apr 7, 2025

Description

Adds payment sources section to <OrgProfile /> and wires up all org-related payment source and checkout methods to the appropriate org-specific endpoints.

Also adds the "Make Default" payment source action item and badging.

https://linear.app/clerk/issue/COM-289/build-out-payment-sources-tab-within-orgprofile
https://linear.app/clerk/issue/COM-318/bugsdk-when-an-org-is-enabled-but-user-profile-is-open-we-call-fapis
https://linear.app/clerk/issue/COM-319/bugsdk-sending-empty-org-id-param-to-v1mecommercepayment-sources-when

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Copy link

changeset-bot bot commented Apr 7, 2025

🦋 Changeset detected

Latest commit: 1616eee

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 22 packages
Name Type
@clerk/clerk-js Patch
@clerk/shared Patch
@clerk/types Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch
@clerk/agent-toolkit Patch
@clerk/astro Patch
@clerk/backend Patch
@clerk/elements Patch
@clerk/expo-passkeys Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nextjs Patch
@clerk/nuxt Patch
@clerk/react-router Patch
@clerk/clerk-react Patch
@clerk/remix Patch
@clerk/tanstack-react-start Patch
@clerk/testing Patch
@clerk/vue Patch
@clerk/localizations Patch
@clerk/themes Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Apr 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2025 5:51pm

@aeliox aeliox merged commit cfa94b8 into main Apr 8, 2025
30 checks passed
@aeliox aeliox deleted the keiran/commerce-org-endpoints branch April 8, 2025 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants