Followed the instructions, inspected the Dockerfile and build steps to try and get an instance setup on Laravel Forge but consistently getting errors anywhere from OAuth to front-end JS errors in React.
I then followed the instructions to a T to get setup on Fly.io but still getting OAuth errors when trying to install the private app to a store.
I'm hoping someone here has at least got this up and running successfully so I know there is hope!
It's possible that the errors you're encountering are related to environment variables not being set correctly. Make sure that you have set the necessary environment variables for your app to function properly.
Additionally, it may be helpful to check the logs for any error messages that could provide more insight into the issue.
Here's an example of how to set environment variables in Laravel Forge:
Go to your server's dashboard in Laravel Forge.
Click on the "Environment" tab.
Add the necessary environment variables for your app. For example, if your app requires a Shopify API key and secret, you would add the following variables:
If you're still encountering issues, it may be helpful to reach out to the Shopify developer community or the Laravel community for further assistance.
DId you manage to sort this out?
I have the same problem, I've used to use the osiset laravel package and because I had so many problems related to it, I decided to convert my app to use the official setup from Shopify. I've managed to convert the app successfully and have it up & running perfectly fine on my local in no time, but I when it cames to deployment I wasn't lucky, I've tried to deploy the app using Laravel forge, but it just doesn't work and the worst part is that there is no error message, the production build is successful, but it just don't work
@MGMonge unfortunately no. I was able to complete my latest project using the osiset package so haven't tried again yet. Are you getting the same 404 error when trying to deploy? If not, what's happening when you deploy?
Setting up the Shopify PHP/Laravel app template can indeed be a bit challenging. It's great that you're actively trying to troubleshoot and get it running.
Sometimes, these errors can be tricky, but don't lose hope! For specific technical issues like OAuth and React errors, it might be beneficial to reach out to the Shopify developer community or forums where experienced developers can provide guidance.