#a1-connect-email

1 messages · Page 1 of 1 (latest)

fast thistleBOT
orchid panther
#

is this the correct format to ask for the email capabilities?

shell brook
#

a1-connect-email

orchid panther
#

well I do retrieve it afterwards, however the email is not included in it.

is there a specific reason for that?

#

I am missing the "business_profile" and the "email" keys

#

any idea?

shell brook
#

It depends on the Account type, if you use Standard accounts you don't have access to this

orchid panther
#

is it this setting i need to turn off?

shell brook
#

I don't understand what you're asking

#

This setting lets you connect Express or Standard accounts

#

and you seem to use one of those

orchid panther
#

do you mean that the account I am connecting FROM needs NOT to be a STANDARD account?

shell brook
#

not really

#

You are a platform, you seem to use OAuth with Standard accounts. That's a crucial/foundational decision you make early on when building your platform.
In that flow you can not access the email or business profile. This is not visible to you. You'd collect this information yourself separately as part of your app

orchid panther
#

under which condition can I see the business information like email and name of the owner?

shell brook
#

If you use Custom accounts. But then it's a completely different integration path and you're already collecting all of this yourself

#

you must have chosen Standard for a reason

orchid panther
#

I don't know what standard is and I also do not know if or where I have chosen it

#

the only reason I want to have the user connect using oAuth is to:

  1. create a webhook in the name of the user
  2. get the email of the user to send correspondence to
#

I am confused at this point

shell brook
#

I can see you're confused, but it's hard to help with no info. Like who wrote your integration? Which doc did you follow? Whywould you create a webhook for a user? That doesn't make sense for Connect at all either

orchid panther
#

I have written a stripe app that plans to do all this. But with the current "test" versions of the API, I can't get the permissions to run, they require a live stripe app.

to workaround this, I thought maybe connecting the user with oAuth and getting the access token would allow creating a webhook and doing the work this way.

shell brook
#

Gotcha. Then no this is impossible. A Stripe App can not create a webhook endpoint on a connected account, and neither can a Connect platform

orchid panther
#

are you sure?
I think I've read about the permissions that let you exactly do that

shell brook
#

let me ask a colleague to be sure. But ultimately it's impossible with Connect so the path you're using won't work

orchid panther
shell brook
#

the only permission is webhook_read so you can't create one, it'll never work

#

let's take a step back (or 10). What are you really trying to do

orchid panther
#

I want to know,

  1. when a payment of a customer of that account has failed
  2. when a subscription has been deleted
  3. the email address of the MAIN ACCOUNT HOLDER

all through stripe apps.

shell brook
orchid panther
#

are you sure about point 3?
I have installed a random application from the apps store and got a email notification to my inbox.

How did that happen?

shell brook
#

I don't understand what you mean again. What does "I got a email notification to my inbox" mean?

orchid panther
#

I installed a app from the apps to the right side of the screen, into my stripe account.
I confirmed the applications permissions window.
I did nothing else.

I received an email FROM the application that I just installed, to the REGISTERED EMAIL ADDRESS of MY STRIPE ACCOUNT.

I want to replicate that

shell brook
orchid panther
#

No worries, I will get in touch with them.

shell brook
#

Sounds good, sorry I couldn't help more