Created a very basic checkout extension inside of an app using node. Selected Remix, JS + React.
Tested it in dev environment and everything works great. I went to deploy it and can see the target under pickup (collects data from customer and passes to order metafields) which passes info as it should but when I checkout (pay) my target on the thank you page (Banner that takes the entered metafield data and shows the customer what they selected) gets thwarted with the CORS message below and doesn’t show up at all. I am not making any calls to an outside API.
Access to fetch at ‘https://eating-hotdogs-stupid-lackluster.trycloudflare.com/extensions’ from origin ‘https://some-shop.myshopify.com’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Works great before payment is made and everything works great on dev. It is a dev store with Checkout and Customer Accounts Extensibility. I did create a custom distribution link for the install. Wondering if the App Bridge config may be off as the embed of my app looks off but no idea how or what I would do to fix this. Any help would be appreciated. Talk down to me. This is my first app.