-
Notifications
You must be signed in to change notification settings - Fork 607
Description
Preliminary Checks
-
I have reviewed the documentation: https://unkey.com/docs
-
I have searched for existing issues: https://github.com/unkeyed/unkey/issues
-
This issue is not a question, general help request, or anything other than a bug report directly related to Unkey. Please ask questions in our Discord community: https://unkey.com/discord.
Reproduction / Replay Link (Optional)
No response
Issue Summary
When a user wants to upgrade a personal account if they don't have their credit card attached we don't display an error to the user or redirect them to the payment screen.
Steps to Reproduce
- In a non workspace account navigate to the billing
- click Pro
- click switch
- See no errors or redirects
The error is TRPCClientError: You do not have a payment method. Please add one before upgrading.
Expected behavior
User should be redirected to the payment screen and then upgraded or we should at minimum display an error to the user that they need to attach a credit card
Other information
No response
Screenshots
No response
Version info
N/A