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

Permission inconsistency between Stripe extension and Stripe app

Open clement911 opened this issue 2 years ago • 8 comments

We are currently implementing our migration from a Stripe extension to a Stripe app.

However, we hit an issue.

As a Stripe extension, we can list all connected accounts of our connected accounts using https://stripe.com/docs/api/accounts/list.

As a Stripe app, even though we request the permission connected_account_read, we get the following error: You cannot access the connected accounts of your platform's connected accounts.

clement911 avatar May 04 '23 01:05 clement911

hi @clement911

Stripe has historically blocked access to the connected accounts of your connects accounts. Could you let me know what the account_id of the extension you saw this access working with so I can investigate further? Thanks!

chaves-stripe avatar May 04 '23 17:05 chaves-stripe

Hi @chaves-stripe. The account_id is acct_1FeQQXKCCxquzPPm.

Note that accounts/get has always been blocked however we've always been able to call accounts/list to get the connected accounts of our connected accounts.

clement911 avatar May 05 '23 05:05 clement911

@chaves-stripe any updates?

clement911 avatar May 22 '23 07:05 clement911

Hi @clement911, I have a few more questions!

  • You say you are migrating, are you developing your stripe app on the same account as the extension? (acct_1FeQQXKCCxquzPPm)
  • Is this error surfacing from making this call from a UI extension, or from your app's backend? Thanks!

chaves-stripe avatar May 25 '23 22:05 chaves-stripe

@chaves-stripe

  • Yes
  • From the backend/server-side

clement911 avatar May 25 '23 23:05 clement911

Hi @clement911 ,

I see that account acct_1FeQQXKCCxquzPPm does have access to your platforms connected accounts. However, I do not see any errors of that kind on account acct_1FeQQXKCCxquzPPm when looking into our logs. Can you provide more information around a request where you see this log, for example the connected account ID you are using? Or the request ID from your Developer logs in the Stripe Dashboard? Thanks and apologies this has been difficult to track down!

chaves-stripe avatar May 30 '23 23:05 chaves-stripe

@chaves-stripe apologies for the very late reply. Here is a recent example in test mode: https://dashboard.stripe.com/acct_1FgoYfHwLf3OFt3y/test/logs/req_6TYmzP53r3Nb8q?t=1691391100

clement911 avatar Aug 07 '23 06:08 clement911

@chaves-stripe , just checking back on this issue.

clement911 avatar Sep 06 '23 01:09 clement911