-
Notifications
You must be signed in to change notification settings - Fork 26
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
Doesn't get proper user that exists in the LS customers list. #128
Comments
Hi, I could not reproduce this on my end, so I assume this has to be cache-related in your app. Try using curl to fetch that. https://docs.lemonsqueezy.com/api/customers#list-all-customers |
Hi @brankoconjic I just checked via postman and it looks the same, I also double checked that user exists in the list of customers in LS. For my user it fetch correctly via filter as it is very very old user. Please see attached. |
hey guys, any help? Still reproducable my side... |
I tested again using multiple accounts and couldn’t replicate the issue. Ensure that you’re using the correct API key for the mode (Test or Live), as each mode requires a different key. If the problem persists, please reach out to |
@brankoconjic I regenerated the API key and it is solved, thanks for pointing! |
"@lemonsqueezy/lemonsqueezy.js": "^3.3.0",
import {
lemonSqueezySetup,
listCustomers,
} from '@lemonsqueezy/lemonsqueezy.js'
const { error, data } = await listCustomers({
filter: { email: user.email },
})
Doesn't get proper user that exists in the LS customers list.
Data is always empty for the new customers, for very old customers this works fine. How this depends? Could u please help?
The text was updated successfully, but these errors were encountered: