I am trying to create a user and the creation process goes smoothly, the user is created in the database and also the stripe customer id is then updated in the database.
But then I need to create a subscription for the user and I am using the auth.api.upgradeSubscription as mentioned in the docs. This fails.
Using a hono and trpc backend and I am doing all this on the backend.
There is no error returned, it is just empty.
It would have been nice to create a default subscription when the user is created in auth.ts somehow. But I guess this is more of a feature request rather than reality