π£ The forum has moved to GitHub
Weβve switched to GitHub Discussions as the hub for our community. This will improve the experience of collaborating for everyone, sharing what youβre working on, and discussing ideas for how Swell can be improved. Existing threads will remain open, but new posts are disabled.
Go to GitHub βEmpty billing returned in login response
Hi,
Sth weird happens when i try to login. My customer definitely has billing address saved at the account level, I can also see it in the dashboard.
However, when they login the response contains empty {} billing
Answers
-
@Marek Szewczyk can you share the login code snippet you're using? Seem's you're on a custom storefront so it could be something with how you're implementing it.
0 -
import swell from "swell-js"; ... export const login = async (data) => { return await swell.account.login(data.Email, data.Password); } "swell-js": "^3.17.6"
0 -
any news on that?
0 -
@Jesse B :up:
0 -
@Marek Szewczyk we weren't able to replicate this. Can you share a screenshot of what you're seeing/your customer is seeing?
0 -
I also cannot reproduce it now. But indeed it happened:
1