We are developing a Shopify app, and we want to prevent the app from being installed event though the user has declined the charge during app installation.
Currently what happens is, if the user declines the charge, the app will be installed either way, and displayed in the apps section.
One approach we are considering is calling the App Uninstall endpoint when the user triggered decline event takes place.
Can anybody provide an example of how to handle charge decline. If user clicks cancel on approve charge shopify redirects to main app page but app gets installed and remain use able. So how do we check if charge was declined and no active payment plan so that we can restrict app usage ?
I’m having the same issue. I can’t find a solution that actually works on the internet. It seems like clicking “cancel” when agreeing to payment should be handled by Shopify, not the app developer, but somehow it’s still installing and giving merchants full access to my app without having paid for it.