Skip to content

Conversation

@SandipBajracharya
Copy link
Collaborator

Changes

  • add function that makes api request to intuit to fetch realm company info
  • check if the QBO account company is non US
  • if non US then show call out with copy: support US company only

Testing Criteria

Screenshot 2026-01-05 at 18 52 20

@linear
Copy link

linear bot commented Jan 5, 2026

@vercel
Copy link

vercel bot commented Jan 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
quickbooks-sync Ready Ready Preview, Comment Jan 19, 2026 6:22am
quickbooks-sync (dev) Ready Ready Preview, Comment Jan 19, 2026 6:22am

Request Review

- [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
Copy link

@priosshrsth priosshrsth left a 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:

  1. The feature we are building is only available in US.
  2. We are showing proper message to non US companies.

If that's the case,

  1. Could we fetch the companyInfo on serverSide?
  2. 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.

@SandipBajracharya
Copy link
Collaborator Author

setNonUsCompanyChecking

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.

@SandipBajracharya SandipBajracharya merged commit 07a0767 into master Jan 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants