#ademarj

1 messages ยท Page 1 of 1 (latest)

knotty masonBOT
humble abyss
#

Hello

#

You are trying to set up a Connect Webhook Endpoint, yes?

cold cave
#

yes

#

this is the account acct_1KTaAYC433BEDSLz

#

It is a test account

humble abyss
#

This looks like your Connected Account, right?

#

Not your platform account?

cold cave
#

yes that is right

humble abyss
#

Yeah then you wouldn't set up a Webhook on this account directly. You use a Connect Webhook on your platform to listen for Events that occur on your Connected Account. See: https://stripe.com/docs/connect/webhooks

cold cave
#

hum... but in this case all connected accounts will send events through the webhook in my Platform account?

humble abyss
#

Yep, but each Webhook includes the Connected Account ID in the payload

#
  "id": "{{EVENT_ID}}",
  "livemode": true,
  "object": "event",
  "type": "customer.created",
  "account": "{{CONNECTED_ACCOUNT_ID}}",
  "pending_webhooks": 2,
  "created": 1349654313,
  "data": {...}
}```
cold cave
#

Ok I got it, thank you so much

humble abyss
#

๐Ÿ‘

keen chasm
#

@humble abyss Hey, Sir

#

May I ask you something else?

humble abyss
#

๐Ÿ‘‹

#

Is it related to this thread @keen chasm ?

#

Otherwise we should make a new thread to chat

keen chasm
#

It is related to this thread

#

@cold cave is a coworker

#

and a really good one ๐Ÿ™‚

#

@humble abyss So, let me try to give you a bit more context. What we are trying to accomplish here is to allow our customer to OAuth to get access to their account information from a Salesforce org.

#

The accounts they will be using are their own Stripe Accounts, created not through our platform but regular Stripe accounts they created on their own way before they worked with us.

#

Nevertheless, my understanding is that they are still OAuth'ing and somehow, their regular accounts get connected to our Platform Account.

#

So, my understanding is that since they have a regular account that was not created through our Platform account, they have access to configuring their own webhooks related to their account.

humble abyss
#

Correct

#

They can configure their own webhook

#

You just can't configure it for them from your platform

#

Which is what it sounded like was being attempted above?

keen chasm
#

Oh, no...

#

What happened on our side is that we were using this:

#

When using that button, the account created didn't have the option to setup webhooks

#

that caused some confussion

#

Does that make sense?

humble abyss
#

Ah yeah those accounts are meant for testing Platform Controls where you platform has full control and the Connected Account doesn't do anything itself.

#

If you want to test the OAuth flow you are talking about then you need to create a standalone account and then use OAuth to attach it to your platform

keen chasm
#

Awesome

#

then we are on the same page

#

thank you!!!

humble abyss
#

Sure thing