laravel-shopify: Problem reinstalling, but no error logs
For bug reporting only! If you’re posting a feature request or discussion, please ignore.
Expected Behavior
The (re)installation should proceed smoothly
Current Behavior
App was installed on this shop before. It was uninstalled and now trying to re-install again. But the reinstalling keeps failing and returning to the install screen.
Failure Information
There are no error logs in laravel.log
Steps to Reproduce
~Unknown, it has happened more than once and can be quite hard to reproduce~
If users.deleted_at
remains as null
for whatever reasons when the app is uninstalled, this problem will surface
deleted_at
only gets a value when Shopify’s uninstall webhook succeeds, but webhooks can fail.
- Disable all webhooks in the shopify app (to simulate that Shopify has stopped retrying and all webhooks have failed)
- Install the app
- Uninstall the app (with webhooks disabled,
users.deleted_at
remains asnull
) - Reinstall the app - unable to, leads to 404 on shopify backend
Hope this can be addressed.
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
- Package Version: v19.0.0
- Laravel Version: v8.83.27
- PHP Version: v8.1.27
- Template Engine: Blade
- Using a toolset (Docker, Laradock, Vagrant, etc.): n/a
Investigation to find a solution
Triggered javascript breakpoints
-
/authenticate
<=auth/full.blade.php
-
click INSTALL
-
/token
<=layouts/default.blade.php
, beforecreateApp
-
/token?embedded=1
<=layouts/default.blade.php
, beforecreateApp
-
/token?embedded=1
<=token_handler.blade.php
-
/billing
<=billing/full.blade.php
-
click APPROVE
-
/token
<=layouts/default.blade.php
, beforecreateApp
-
/token?embedded=1
<=layouts/default.blade.php
, beforecreateApp
-
/token?embedded=1
<=token_handler.blade.php.php
-
/
<=layouts/default.blade.php
, beforecreateApp
-
click UNINSTALL
-
click INSTALL
-
/token
<=layouts/default.blade.php
, beforecreateApp
-
404
About this issue
- Original URL
- State: open
- Created 4 months ago
- Reactions: 1
- Comments: 30 (10 by maintainers)
Hello @Kyon147 @bilogic, I’ve created a new issue. Please feel free to take a look when you have a moment #Issue_298