Kyon147 / laravel-shopify

A full-featured Laravel package for aiding in Shopify App development
MIT License
353 stars 102 forks source link

When I reinstall my extension, it gives error #157

Closed racibaz closed 1 year ago

racibaz commented 1 year ago

When I reinstall my extension, it gives error. If I delete exist shop (user) manually, it works.

Expected Behavior

When I reinstall my extension, it gives error. If I delete exist shop (user) manually, it works.

Failure Information

Screen Shot 2023-05-11 at 12 04 19

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

Context

racibaz commented 1 year ago

I find the problem that I hadn't used uninstall webhook which would check the user's deleted_at field so I added to uninstall webhook to shopify endpoint and edit the my app config (shopify-app.php). It's working now.

Kyon147 commented 1 year ago

Looks like you found the issue being the uninstall webhook not being set up, so going to close this 👍

bretto36 commented 1 year ago

For anyone else also getting this error, i had to update to that latest version of this package as well before it would work. was on 18.0 -> 18.2 worked.