App reviews, troubleshooting, and recommendations
Hi there,
We are a team of developers building an embedded Shopify app that will use the Carrier Service.
We are new to Shopify app development but followed this Shopify node guide https://github.com/Shopify/shopify-app-node and successfully deployed our app in a docker container to Google cloud platform. From there we were able to install it into a test development store.
We have read over the documentation for the Carrier Service API https://shopify.dev/api/admin-rest/2021-10/resources/carrierservice and understand the first step is to create a carrier service.
The documentation is a little bit vague on where to use the node.js code and we aren't sure where to start. Some questions:
- do we create a carrier_services.json file? If so, what directory do we store the file?
- are there any examples we can reference for an embedded node app that contains code for implementing a carrier service?
Thank you for your help!
We used the approach to make an authenticated fetch call from the React app frontend to NodeJS backend when the app starts to get the session id. From there we used the methods provided by Shopify to retreive the session from the id and register the service through the shopify api rest CarrierService.
As we also saw only one carrier service is allowed so we have a simple check, if present with the same name we dont register it again.
React code at component: (this fetch is the authenticatedFetch provided by shopify)
Shopify system hits my callback url but does not send customer shipping data (zipcode, item weight etc). What I might be missing in my app?
Below is the call back url I registered:
where in the nodejs app did you set this?
Hi,
Where in the nodejs/remix shopify app do i put this?
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024