I’m currently exploring creating a Shopify app using bubble. I’ve been able to manually set up the OAuth and install my ‘app’ on a test Shopify store (this was one of those ‘I can’t believe I just did that’ moments).
My next step is to try and see if I can set up the OAuth flow properly, as if a new merchant has just installed my app for the first time. See Shopify’s dev docs for how this is supposed to be done.
The problem I’m facing is that when a merchant clicks the ‘install’ button on the Shopify app store, a GET request is sent to the app url path, which I have set as the index page of my app (and it needs to be the index url for the rest of my app to work).
I believe bubble pages are able to accept GET requests (see this thread), but I don’t think you’d be able to trigger a workflow off the back of it. Without changing the app path url to an API endpoint, would there be another solution?
I’m not sure this is possible in bubble at the moment, but I hope someone has an answer!