-
Notifications
You must be signed in to change notification settings - Fork 0
OUT-2866: check QBO account company is US or not #179
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- [x] add function that makes api request to intuit to fetch realm company info - [x] check if the QBO account company is non US - [x] if non US then show call out with copy: support US company only
906d7d1 to
2b87efc
Compare
priosshrsth
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have the full context. But here are my understandings:
- The feature we are building is only available in US.
- We are showing proper message to non US companies.
If that's the case,
- Could we fetch the companyInfo on serverSide?
- Rather than tracking isNonUseCompany, we can check companyInfo.Country === "US"
These are just my suggestions. But if we don't need company info anywhere else other than the flag to identify US, then I guess this is fine too.
We are showing this Callout that is dependent on few client side logics. Fetching data in server side is good idea but might have to change the whole flow only for that. And also the company info is used for this particular callout only. |
Changes
Testing Criteria