Skip to content

Conversation

@sethconvex
Copy link
Owner

No description provided.

The updateSubscriptionQuantity action was reading process.env.STRIPE_SECRET_KEY
directly, which is not available in component action contexts even when set in
the Convex Dashboard.

This fix:
- Makes apiKey a required parameter in the component action
- Updates the client method to pass this.apiKey to the action
- Removes the process.env fallback that doesn't work in component actions
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 20, 2025

Open in StackBlitz

npm i https://pkg.pr.new/sethconve/stripe/@convex-dev/stripe@1

commit: 100d740

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.

2 participants