stripe-apps icon indicating copy to clipboard operation
stripe-apps copied to clipboard

Finding out which version of our app is installed

Open clement911 opened this issue 2 years ago • 2 comments

My understanding is that only admins can update the version of the app that is installed. (Unless permissions don't change, in which case the app is updated automatically).

I guess this means that our app must be able to continue working even for previous versions.

However, how do we know the minimum version number that is still installed on one of our connected accounts? Without this information, how can we tell up to which previous version of our app we must ensure compatibility?

I supposed it would be great if, on https://dashboard.stripe.com/connect/accounts/overview, we could see the version of the installed app for each connected account. Ideally the API for account objects would also include a field 'app_version' that indicates which version of the app is currently installed.

Let me know if I'm missing something here.

clement911 avatar May 05 '23 05:05 clement911

@clement911 - Not sure if you've gotten an update externally to this, but in our experience, all connected accounts always run the latest version of your code. However, they will operate under the permissions/CSP that was last approved by an account admin. So, it's not that your older versions need to keep being supported, but that your newest code has to be capable of working with degraded permissions!

robocel avatar May 22 '23 17:05 robocel

@robocel we did not get any updates. I hope you're right that the latest version is always used. It would be nice to get confirmation. I know that if the app needs additional permissions, the new permissions need to be approved by an admin. Until approved by admin, is it the previous installed version that runs or the latest version?

clement911 avatar May 22 '23 22:05 clement911