Replies: 1 comment
-
If you have the Uninstall webhook job set up this is handled for you. The row in the user table for that store will be updated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the kyon147/laravel-shopify package to build a Shopify app in Laravel. Everything works fine, but when a merchant uninstalls the app, the API key (access token) becomes invalid, and I can no longer make API requests for that store.
I understand that Shopify revokes the API access token upon uninstall, but I'm looking for the best way to handle this scenario properly. Should I listen to the app/uninstalled webhook and clean up store data from my database? Also, what’s the best approach to allow users to reinstall the app smoothly without issues?
Any advice or best practices would be greatly appreciated! Thanks in advance. 🙌
Beta Was this translation helpful? Give feedback.
All reactions