yoyojoe
BABetter Auth
•Created by yoyojoe on 3/19/2025 in #help
Stripe one time payments?
Also, I've seen a few people requesting a usage plugin which I think I'll end up building soon. A usage plugin tied to an API key would be so cool.
10 replies
BABetter Auth
•Created by yoyojoe on 3/19/2025 in #help
Stripe one time payments?
@bekacru I haven't given it much thought from a design perspective but something similar to how subscriptions are handled (my guess is it'll be a lot simpler). My use case might be somewhat niche. I'm trying to build an application where usage is tied to a token system. The user will buy more tokens in order to gain more usage. For more context, its an AI agent SaaS powered by Mastra.ai. Once I get more into the build I can give better examples of how it could be implemented into the stripe plugin.
10 replies
BABetter Auth
•Created by yoyojoe on 3/19/2025 in #help
Stripe one time payments?
Hey thank you @bekacru so glad you guys thought about extending the webbooks. I don't mind this implementation at all, but are there any plans to add one time payments into the stripe plugin in the future?
10 replies
BABetter Auth
•Created by yoyojoe on 3/13/2025 in #help
Admin Users Count
classic hahaha. Thank you again for working through this with me
29 replies
BABetter Auth
•Created by yoyojoe on 3/13/2025 in #help
Admin Users Count
Also note that removing the limit on the query does not change the response but removes the limit amount returned.
29 replies
BABetter Auth
•Created by yoyojoe on 3/13/2025 in #help
Admin Users Count
ahh this might be the case
29 replies
BABetter Auth
•Created by yoyojoe on 3/13/2025 in #help
Admin Users Count
So with the following query:
the response cached is the following:
Note: I'm blocking sensitive info in the returned request, that's not the actual response.
29 replies
BABetter Auth
•Created by yoyojoe on 3/13/2025 in #help
Admin Users Count
@Netrifier Now when I query using the admin client I'm not getting a total back at all.
29 replies
BABetter Auth
•Created by yoyojoe on 3/13/2025 in #help
Admin Users Count
Here's my auth-client.ts:
and here is my auth.ts file:
29 replies
BABetter Auth
•Created by yoyojoe on 3/13/2025 in #help
Admin Users Count
Hey @Netrifier. See below for my config:
29 replies
BABetter Auth
•Created by yoyojoe on 3/13/2025 in #help
Admin Users Count
Sorry. Just realized I didn’t respond. I did try this but got a type error. I looked into it further and filter isn’t a query option. I’m going to update and see if that changes anything
29 replies
BABetter Auth
•Created by yoyojoe on 3/13/2025 in #help
Admin Users Count
Whats up @Lick A Brick. I'm expecting the total to be equal to the number of users with the given filter criteria. I only have 1 admin user so I would expect "total":6 Right now its returning the total number of all users
29 replies
BABetter Auth
•Created by yoyojoe on 2/9/2025 in #help
Correct way to create webhooks
Awesome thank you @bekacru I’ll run it.
4 replies