Shopify / Shopify/shopify-app-template-node
How to get the abandoned data
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 434
- PR merge metrics
- No merged PRs in 30d
Description
Issue summary
How to get abandoned cart data from api
I want abandoned cart data
Actual behavior
Steps to reproduce the problem
1.firstly I am getting shop=undefined error in the auth api
2. Then I append the shop in the auth api as you can see above
3. now I am getting 503 error in both api
<--additional question-->
when I created my app though npm command, I have choosen my store already then why it is saying shop undefined in auth api.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the route in index.js and the shopifyApp auth configuration, then reproduce the shop=undefined and 503 responses using the documented /api/abandoned-cart request. Check how the session is obtained before the AbandonedCheckout call and compare the browser useEffect request with the auth flow. Done means the auth request has a valid shop and the endpoint returns abandoned cart data rather than either reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js, react
- Domain
- api, authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100