First timer app developer, order status app

Solved

First timer app developer, order status app

Tom2024
Shopify Partner
20 0 3

Yes I am trying to program my first app so be easy!  Actually I am looking to make a custom app inside a specific store as it is to custom to make any money on.  What I am looking to do is create a order status page that I can send webhooks to it to update custom status level.  Basically a user can enter there order number and pull up a status.  But we use an offsite inventory production screen if you will that what I want to do is the hit the checkbox for packing and boom fires off to the react app that then would be displayed on the order status page, send an email etc.

 

I have created a droplet and coded something super simple for now just to get it to work.  The droplet is running react and node.  I can pull up order status on the droplet if I want, but for the life of me when I program up the page custom liquid, I can't get past the cors issue no matter what I try.  Is it not possible to do that and I need to go though the partner dashboard or is my thinking okay?

 

Content-Security-Policy: Ignoring ‘block-all-mixed-content’ because mixed content display upgrading makes block-all-mixed-content obsolete.

 

Yes I realize that there are apps for this and all fine and dandy, I am trying to learn here as well.  Many thanks in advance

Accepted Solution (1)

Liam
Shopify Staff
2873 312 820

This is an accepted solution.

Hi Tom,

 

I believe you will need to to this through the Shopify Partner Dashboard, by creating a new app and setting the app URL to point to your Node server. Then you can use Shopify’s App Bridge to embed your app within the Shopify admin and ensure your app’s iframe has the right permissions and the correct Content Security Policy.

 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Reply 1 (1)

Liam
Shopify Staff
2873 312 820

This is an accepted solution.

Hi Tom,

 

I believe you will need to to this through the Shopify Partner Dashboard, by creating a new app and setting the app URL to point to your Node server. Then you can use Shopify’s App Bridge to embed your app within the Shopify admin and ensure your app’s iframe has the right permissions and the correct Content Security Policy.

 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog